From 003727289cc45e29eff0c0c48ad0f9660f96644f Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 15:02:47 +0000 Subject: separated patch, build, check and package stages --- repo/devel/bc.xibuild | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'repo/devel/bc.xibuild') diff --git a/repo/devel/bc.xibuild b/repo/devel/bc.xibuild index 160b6f5..76231c6 100644 --- a/repo/devel/bc.xibuild +++ b/repo/devel/bc.xibuild @@ -2,14 +2,19 @@ DEPS=(readline) -SOURCE=https://github.com/gavinhoward/bc/releases/download/5.2.1/bc-5.2.1.tar.xz +PKG_VER=5.2.1 +SOURCE=https://github.com/gavinhoward/bc/releases/download/$PKG_VER/bc-$PKG_VER.tar.xz DESC="An arbitrary precision numeric processing language" build () { CC=gcc ./configure --prefix=/usr -G -O3 make - make test - make DESTDIR=$PKG_DEST install } +check () { + make test +} +package () { + make DESTDIR=$PKG_DEST install +} -- cgit v1.2.1