blob: c2ff638617e5e241d0527015bc882e027f48570d (
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
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=pkgconf
pkgver=1
pkgrel=2
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 \
|| 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="4a4215afa443be74705b2b6ae6e23e7b pkgconf-1.tar.xz"
sha256sums="6e46cf28b252b636459c0b7f808997858206b92b3fac37135781128ce5d47704 pkgconf-1.tar.xz"
sha512sums="eb27d83ef9d1e2ba5d92a03728b1a4c533b00d747751978d96bd7567e53a7a68b1c4ae0135b95868415e673e88369b24ccc8a63a5ae7ae8ba1c6180046a39bff pkgconf-1.tar.xz"
|