diff options
author | trya | 2015-06-08 23:27:17 +0200 |
---|---|---|
committer | trya | 2015-06-08 23:27:17 +0200 |
commit | 62b0f75c289a5153e86f74e79ea281c68740398a (patch) | |
tree | b29e99185cba5e4cc428837bbf3170386f24642d | |
download | aur-62b0f75c289a5153e86f74e79ea281c68740398a.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d1eb17316441 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = libffi5 + pkgdesc = A portable, high level programming interface to various calling conventions (ABI version 5) + pkgver = 3.0.10 + pkgrel = 1 + url = http://sourceware.org/libffi + arch = i686 + arch = x86_64 + license = MIT + checkdepends = dejagnu + depends = glibc + options = !libtool + source = ftp://sourceware.org/pub/libffi/libffi-3.0.10.tar.gz + md5sums = 79390673f5d07a8fb342bc09b5055b6f + +pkgname = libffi5 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..699b899e07bb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +_pkgbasename=libffi +pkgname=libffi5 +pkgver=3.0.10 +pkgrel=1 +pkgdesc="A portable, high level programming interface to various calling conventions (ABI version 5)" +arch=('i686' 'x86_64') +url="http://sourceware.org/libffi" +license=('MIT') +depends=('glibc') +checkdepends=('dejagnu') +options=('!libtool') +source=(ftp://sourceware.org/pub/libffi/libffi-$pkgver.tar.gz) +md5sums=('79390673f5d07a8fb342bc09b5055b6f') + +build() { + cd "$srcdir/$_pkgbasename-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$_pkgbasename-$pkgver" + make DESTDIR="$pkgdir" install + + mv "$pkgdir/usr/lib/libffi.a" "$pkgdir/usr/lib/libffi5.a" + rm -f "$pkgdir/usr/lib/libffi.so" + rm -rf "$pkgdir/usr/lib/pkgconfig" "$pkgdir/usr/share" + + install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |