Date: Monday, September 19, 2022 @ 21:56:39
  Author: felixonmars
Revision: 456490

archrelease: copy trunk to testing-x86_64

Added:
  libffi/repos/testing-x86_64/
  libffi/repos/testing-x86_64/PKGBUILD
    (from rev 456489, libffi/trunk/PKGBUILD)

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

Copied: libffi/repos/testing-x86_64/PKGBUILD (from rev 456489, 
libffi/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2022-09-19 21:56:39 UTC (rev 456490)
@@ -0,0 +1,45 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Bartłomiej Piotrowski <[email protected]>
+# Contributor: Stéphane Gaudreault <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+
+pkgname=libffi
+pkgver=3.4.3
+pkgrel=1
+pkgdesc='Portable foreign function interface library'
+arch=('x86_64')
+url='https://sourceware.org/libffi/'
+license=('MIT')
+depends=('glibc')
+checkdepends=('dejagnu')
+provides=('libffi.so')
+options=('debug')
+source=(https://github.com/libffi/libffi/releases/download/v$pkgver/libffi-$pkgver.tar.gz)
+sha256sums=('4416dd92b6ae8fcb5b10421e711c4d3cb31203d77521a77d85d0102311e6c3b8')
+b2sums=('5e751c53a6b65316e438723810fbafe7f27732feb50466f1459d086c35a519f460b57968721212496a7502b0a5860546c84b22ec269e979728f18d0731fc918a')
+
+build() {
+  cd $pkgname-$pkgver
+  # remove --disable-exec-static-tramp once ghc and gobject-introspection
+  # work fine with it enabled (https://github.com/libffi/libffi/pull/647)
+  ./configure \
+    --prefix=/usr \
+    --disable-static \
+    --disable-multi-os-directory \
+    --disable-exec-static-tramp \
+    --enable-pax_emutramp
+  make
+}
+
+check() {
+  make -C $pkgname-$pkgver check
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+  install -Dm 644 README.md -t "$pkgdir"/usr/share/doc/$pkgname
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to