blob: f223269247168284d74b2fd1895d66a2ebd74365 (
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.2
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="79cda50e9752acb3ba2cefd08e0a2e82 pkgconf-1.0.2.tar.xz"
sha256sums="a7c67f8603c0d0400be17b2efac0fdc9ff46625f7e50aefe4ad31eff248115dd pkgconf-1.0.2.tar.xz"
sha512sums="679c9033489076ba5691c3a830b8e300c6cb2dc9e7eeffa1a478c681c7f1cc49896b0b5d0d069b14804a5c9bc31115ba672b1f724cd6282ce26d54945a5a8a42 pkgconf-1.0.2.tar.xz"
|