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/pkg-config.xibuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'repo/devel/pkg-config.xibuild') 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 } -- cgit v1.2.1