aboutsummaryrefslogtreecommitdiff
path: root/pkgbuild/pkg-config
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2018-03-13 11:32:48 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2018-03-13 11:32:48 -0400
commit0986e78484599ae055896f00b88ad588c6ba2d81 (patch)
tree6c15225d13d1989a96685d5e68d95178b43310e5 /pkgbuild/pkg-config
parentc9dcc820b15fb98a7288aed6c87570a263e6dd63 (diff)
downloadpacman-buildsys-master.tar.gz
Initial commit of pkgbuildsHEADmaster
Diffstat (limited to 'pkgbuild/pkg-config')
-rw-r--r--pkgbuild/pkg-config/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgbuild/pkg-config/PKGBUILD b/pkgbuild/pkg-config/PKGBUILD
new file mode 100644
index 0000000..d40954f
--- /dev/null
+++ b/pkgbuild/pkg-config/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Joseph Hunkeler <jhunk@stsci.edu>
+pkgname=pkg-config
+pkgver=0.29.2
+pkgrel=1
+epoch=
+pkgdesc="Compilation configuration utility"
+arch=('x86_64')
+url="https://www.freedesktop.org/wiki/Software/$pkgname"
+license=('GPL')
+groups=('base-devel')
+depends=()
+makedepends=('m4' 'libtool')
+checkdepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+options=('!docs')
+source=("https://$pkgname.freedesktop.org/releases/$pkgname-$pkgver.tar.gz")
+md5sums=('f6e931e319531b736fadc017f470e68a')
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=$BUILD_PREFIX --with-internal-glib
+ make
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ #make -k check
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ fix_rpath
+}
+# vim:set ts=2 sw=2 et: