pkgconf 2.3.0-1
This commit is contained in:
parent
1cf9036bdc
commit
c6367d6501
38
pkgconf/PKGBUILD
Normal file
38
pkgconf/PKGBUILD
Normal file
@ -0,0 +1,38 @@
|
||||
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||||
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||||
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||||
# then please put 'unknown'.
|
||||
|
||||
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||
pkgname=pkgconf
|
||||
pkgver=2.3.0
|
||||
pkgrel=1
|
||||
pkgdesc="Package compiler and linker metadata toolkit"
|
||||
arch=('x86_64')
|
||||
url="http://pkgconf.org/"
|
||||
license=('custom:ISC')
|
||||
groups=('base-devel')
|
||||
depends=('glibc' 'bash')
|
||||
source=(https://distfiles.ariadne.space/${pkgname}/${pkgname}-${pkgver}.tar.xz)
|
||||
sha256sums=(3a9080ac51d03615e7c1910a0a2a8df08424892b5f13b0628a204d3fcce0ea8b)
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
${CONFIGURE} \
|
||||
--disable-static \
|
||||
--docdir=/usr/share/doc/${pkgname}-${pkgver}
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
make DESTDIR=${pkgdir} install
|
||||
|
||||
ln -sv pkgconf ${pkgdir}/usr/bin/pkg-config
|
||||
ln -sv pkgconf ${pkgdir}/usr/bin/${CHOST}-pkg-config
|
||||
|
||||
ln -sv pkgconf.1 ${pkgdir}/usr/share/man/man1/pkg-config.1
|
||||
}
|
Loading…
Reference in New Issue
Block a user