blob: 2f685dcca390b6c1a4a5cb2290bfadd0bb3b98f6 (
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
|
# Maintainer: Piotr Gorski <lucjan.lucjanov@gmail.com>
# Contributor: Bartlomiej Piotrowski <nospam@bpiotrowski.pl>
pkgname=pkgconf-git
pkgver=0.9.11.4.g9f49c7d
pkgrel=1
pkgdesc='pkg-config compatible utility which does not depend on glib'
url='https://github.com/pkgconf/pkgconf'
arch=('i686' 'x86_64')
license=('ISC')
makedepends=('popt' 'git')
conflicts=('pkg-config' 'pkgconfig' 'pkgconf')
provides=('pkg-config' 'pkgconfig' 'pkgconf')
replaces=('pkg-config' 'pkgconfig' 'pkgconf')
source=(git://github.com/pkgconf/pkgconf.git)
md5sums=('SKIP')
pkgver() {
cd pkgconf
git describe --tags | sed 's/^v//;s/-/./g;s/pkgconf.//'
}
build() {
cd pkgconf
./autogen.sh
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var
make
}
package() {
cd pkgconf
make DESTDIR="$pkgdir" install
ln -s /usr/bin/pkgconf "$pkgdir"/usr/bin/pkg-config
}
|