summaryrefslogtreecommitdiff
path: root/repo/devel/check.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
commit003727289cc45e29eff0c0c48ad0f9660f96644f (patch)
tree0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/devel/check.xibuild
parentd2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff)
separated patch, build, check and package stages
Diffstat (limited to 'repo/devel/check.xibuild')
-rw-r--r--repo/devel/check.xibuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/repo/devel/check.xibuild b/repo/devel/check.xibuild
index a472872..c03e775 100644
--- a/repo/devel/check.xibuild
+++ b/repo/devel/check.xibuild
@@ -2,11 +2,15 @@
DEPS=(awk)
-SOURCE=https://github.com/libcheck/check/releases/download/0.15.2/check-0.15.2.tar.gz
+PKG_VER=0.15.2
+SOURCE=https://github.com/libcheck/check/releases/download/$PKG_VER/check-$PKG_VER.tar.gz
DESC="A unit testing framework for C"
build () {
./configure --prefix=/usr --disable-static
make
+}
+
+package () {
make DESTDIR=$PKG_DEST install
}