blob: 1e483c2990d069105ce38423c788d4a0fce0e55b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=pkgconf
pkgver=1.0.1
pkgrel=0
pkgdesc="development framework configuration tools"
url="https://github.com/pkgconf/pkgconf"
arch="all"
license="ISC"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
replaces="pkgconfig"
provides="pkgconfig=1"
source="http://rabbit.dereferenced.org/~nenolod/distfiles/pkgconf-$pkgver.tar.xz"
subpackages="$pkgname-doc"
builddir="$srcdir"/pkgconf-$pkgver
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--with-pkg-config-dir=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig \
|| return 1
make || return 1
if [ "$CHOST" = "$CBUILD" ]; then
make check || return 1
fi
}
package() {
cd "$builddir"
mkdir -p "$pkgdir"/usr/bin
make DESTDIR="$pkgdir" install || return 1
ln -s pkgconf "$pkgdir"/usr/bin/pkg-config
}
md5sums="336a3253ab31f7c26fc3d9d35c9844eb pkgconf-1.0.1.tar.xz"
sha256sums="37db912cf060ed0a3113114515597f3c566d3ab796973c5c408691e20ec1fe20 pkgconf-1.0.1.tar.xz"
sha512sums="3ba8e01757f34f8060ea350e96a0166bbdd069b3643cf6c411eb2feda5280dcbc95b06a9f929cad3b0ac33b70726fdc24cbd69ccb087b5e5e74c8a79e273fe15 pkgconf-1.0.1.tar.xz"
|