update to 12.4-systemd: pkgconf-2.5.1

This commit is contained in:
wyj
2025-12-20 22:55:38 -05:00
parent f3d2c61130
commit 9e24441d9c
+26
View File
@@ -0,0 +1,26 @@
pkgname=pkgconf
pkgver=2.5.1
pkgdesc="Package compiler and linker metadata toolkit"
homepage="https://github.com/pkgconf/pkgconf"
license=(ISC)
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://distfiles.ariadne.space/pkgconf/${sources[0]}")
md5sums=("3291128c917fdb8fccd8c9e7784b643b")
src_prepare() {
tar -xf ${distdir}/${sources[0]} --strip-components=1
}
src_build() {
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/pkgconf-${pkgver}
make
}
src_install() {
make DESTDIR="$pkgdir" install
ln -sv pkgconf "${pkgdir}/usr/bin/pkg-config"
ln -sv pkgconf.1 "${pkgdir}/usr/share/man/man1/pkg-config.1"
}