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

Evangelos Foutras foutrelis at archlinux.org
Wed Apr 8 12:33:16 UTC 2020


    Date: Wednesday, April 8, 2020 @ 12:33:16
  Author: foutrelis
Revision: 379822

archrelease: copy trunk to staging-x86_64

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

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

Copied: libffi/repos/staging-x86_64/PKGBUILD (from rev 379821, libffi/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-04-08 12:33:16 UTC (rev 379822)
@@ -0,0 +1,32 @@
+# 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
+pkgver=3.3
+pkgrel=1
+pkgdesc='Portable foreign function interface library'
+arch=('x86_64')
+url='https://sourceware.org/libffi/'
+license=('MIT')
+depends=('glibc')
+checkdepends=('dejagnu')
+source=(ftp://sourceware.org/pub/libffi/libffi-$pkgver.tar.gz)
+sha256sums=('72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --disable-static \
+    --enable-pax_emutramp
+  make
+}
+
+check() {
+  make -C $pkgname-$pkgver check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list