summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorxantares2015-06-08 23:28:52 +0200
committerxantares2015-06-08 23:28:52 +0200
commit087502eb15f14c0a71f8f6ea7b843f560a33503e (patch)
treee0422e62bb57569fa0e9561a9f4fb1ce16f7e55b
downloadaur-087502eb15f14c0a71f8f6ea7b843f560a33503e.tar.gz
Initial import
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD15
-rw-r--r--psp-pkg-config8
3 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4a4217057b2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = psp-pkg-config
+ pkgdesc = Support pkg-config script (psp)
+ pkgver = 1
+ pkgrel = 1
+ url = http://pkg-config.freedesktop.org/
+ arch = any
+ license = zlib
+ depends = pkg-config
+ source = psp-pkg-config
+ md5sums = SKIP
+
+pkgname = psp-pkg-config
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7af804c891b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,15 @@
+pkgname=psp-pkg-config
+pkgver=1
+pkgrel=1
+pkgdesc='Support pkg-config script (psp)'
+arch=('any')
+url=('http://pkg-config.freedesktop.org/')
+license=('zlib')
+depends=('pkg-config')
+source=('psp-pkg-config')
+md5sums=('SKIP')
+
+package() {
+ install -d "${pkgdir}"/usr/bin
+ install -m755 "$srcdir"/psp-pkg-config "${pkgdir}"/usr/bin
+}
diff --git a/psp-pkg-config b/psp-pkg-config
new file mode 100644
index 00000000000..ce9b70b80c5
--- /dev/null
+++ b/psp-pkg-config
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+export PKG_CONFIG_LIBDIR=/usr/psp/lib/pkgconfig
+
+export PKG_CONFIG_PATH=$PKG_CONFIG_LIBDIR:$PKG_CONFIG_PATH_CUSTOM
+
+# Now just execute pkg-config with the given command line args.
+pkg-config $@