new: lfs/pkgconf-2.3.0
This commit is contained in:
parent
7c16736649
commit
41da9686c4
26
lfs/pkgconf-2.3.0.PKGBUILD
Normal file
26
lfs/pkgconf-2.3.0.PKGBUILD
Normal file
@ -0,0 +1,26 @@
|
||||
pkgname=pkgconf
|
||||
pkgver=2.3.0
|
||||
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/${pkgname}-${pkgver}.tar.xz")
|
||||
md5sums=("833363e77b5bed0131c7bc4cc6f7747b")
|
||||
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${DIST_DIR}/${pkgname}-${pkgver}/${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"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user