diff options
author | Ilya Basin | 2018-03-23 13:35:19 +0300 |
---|---|---|
committer | Ilya Basin | 2018-03-23 13:35:43 +0300 |
commit | 52ba56e13779236b13d2356c239b261533496b88 (patch) | |
tree | 5e986b156c7ad3bc9e47f70c77720fe79c78adfd | |
download | aur-52ba56e13779236b13d2356c239b261533496b88.tar.gz |
root
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bd3bdc3173da --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Fri Mar 23 10:33:48 UTC 2018 +pkgbase = aarch64-linux-gnu-pkg-config + pkgdesc = pkg-config that only looks in /usr/aarch64-linux-gnu/lib/pkgconfig and not in /usr/lib/pkgconfig + pkgver = 0.29.2 + pkgrel = 1 + url = http://pkgconfig.freedesktop.org/wiki/ + arch = x86_64 + license = GPL + depends = glib2 + source = https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz + source = https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz.asc + md5sums = f6e931e319531b736fadc017f470e68a + md5sums = SKIP + +pkgname = aarch64-linux-gnu-pkg-config + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..38a28ccc393a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# $Id$ +# Contributor: Allan McRae <allan@archlinux.org> +# Contributor: Judd Vinet <jvinet@zeroflux.org> + +_target=aarch64-linux-gnu +_pkgname=pkg-config +pkgname=${_target}-pkg-config +pkgver=0.29.2 +pkgrel=1 +pkgdesc="pkg-config that only looks in /usr/${_target}/lib/pkgconfig and not in /usr/lib/pkgconfig" +arch=('x86_64') +url="http://pkgconfig.freedesktop.org/wiki/" +license=('GPL') +depends=('glib2') +source=(https://pkgconfig.freedesktop.org/releases/${_pkgname}-${pkgver}.tar.gz{,.asc}) +md5sums=('f6e931e319531b736fadc017f470e68a' + 'SKIP') +validpgpkeys=('6B99CE97F17F48C27F722D71023A4420C7EC6914') # Dan Nicholson + +build() { + cd $_pkgname-$pkgver + ./configure \ + --prefix=/usr/${_target} \ + --target=${_target} \ + --build=$CHOST + make +} + +check() { + cd $_pkgname-$pkgver + make check +} + +package() { + cd $_pkgname-$pkgver + make DESTDIR="$pkgdir" install + mkdir -p "$pkgdir/usr/bin/" + mv "$pkgdir/usr/${_target}/bin/${CHOST}-pkg-config" "$pkgdir/usr/bin/${_target}-pkg-config" +} |