summaryrefslogtreecommitdiff
path: root/repo/devel/pkg-config.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/pkg-config.xibuild
parentd2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff)
separated patch, build, check and package stages
Diffstat (limited to 'repo/devel/pkg-config.xibuild')
-rw-r--r--repo/devel/pkg-config.xibuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/repo/devel/pkg-config.xibuild b/repo/devel/pkg-config.xibuild
index 9f1e3f4..68ca22e 100644
--- a/repo/devel/pkg-config.xibuild
+++ b/repo/devel/pkg-config.xibuild
@@ -2,15 +2,22 @@
DEPS=(glibc sh)
-SOURCE=https://pkg-config.freedesktop.org/releases/pkg-config-0.29.2.tar.gz
+PKG_VER=0.29.2
+SOURCE=https://pkg-config.freedesktop.org/releases/pkg-config-$PKG_VER.tar.gz
DESC="Package compiler and linker metadata toolkit"
build () {
./configure --prefix=/usr \
--with-internal-glib \
--disable-host-tool \
- --docdir=/usr/share/doc/pkg-config-0.29.2
+ --docdir=/usr/share/doc/pkg-config-$PKG_VER
make
+}
+
+check () {
make check
+}
+
+package () {
make DESTDIR=$PKG_DEST install
}