[arch-commits] Commit in (4 files)

Evangelos Foutras foutrelis at archlinux.org
Wed Apr 8 14:48:11 UTC 2020


    Date: Wednesday, April 8, 2020 @ 14:48:11
  Author: foutrelis
Revision: 379833

Add libffi-3.2 for bootstraping libffi 3.3

Added:
  libffi-3.2/
  libffi-3.2/repos/
  libffi-3.2/trunk/
  libffi-3.2/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Added: libffi-3.2/trunk/PKGBUILD
===================================================================
--- libffi-3.2/trunk/PKGBUILD	                        (rev 0)
+++ libffi-3.2/trunk/PKGBUILD	2020-04-08 14:48:11 UTC (rev 379833)
@@ -0,0 +1,31 @@
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libffi-3.2
+pkgver=3.2.1
+pkgrel=1
+pkgdesc='Portable foreign function interface library'
+arch=('x86_64')
+url='https://sourceware.org/libffi/'
+license=('MIT')
+depends=('glibc')
+checkdepends=('dejagnu')
+options=('!emptydirs')
+source=(ftp://sourceware.org/pub/libffi/libffi-$pkgver.tar.gz)
+sha256sums=('d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37')
+
+build() {
+  cd libffi-$pkgver
+  ./configure --prefix=/usr --disable-static \
+    --enable-pax_emutramp
+  make
+}
+
+package() {
+  cd libffi-$pkgver
+  make DESTDIR="$pkgdir" install
+  find "$pkgdir" -type f ! -name 'libffi.so.6*' -delete
+  rm "$pkgdir/usr/lib/libffi.so"
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list