[arch-commits] Commit in libffi-3.2/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Wed Apr 8 14:49:18 UTC 2020


    Date: Wednesday, April 8, 2020 @ 14:49:17
  Author: foutrelis
Revision: 379834

archrelease: copy trunk to staging-x86_64

Added:
  libffi-3.2/repos/staging-x86_64/
  libffi-3.2/repos/staging-x86_64/PKGBUILD
    (from rev 379833, libffi-3.2/trunk/PKGBUILD)

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

Copied: libffi-3.2/repos/staging-x86_64/PKGBUILD (from rev 379833, libffi-3.2/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-04-08 14:49:17 UTC (rev 379834)
@@ -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