[arch-commits] Commit in libffi/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Thu Oct 15 21:04:21 UTC 2020
Date: Thursday, October 15, 2020 @ 21:04:21
Author: anthraxx
Revision: 398416
archrelease: copy trunk to testing-x86_64
Added:
libffi/repos/testing-x86_64/
libffi/repos/testing-x86_64/PKGBUILD
(from rev 398415, libffi/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: libffi/repos/testing-x86_64/PKGBUILD (from rev 398415, libffi/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-10-15 21:04:21 UTC (rev 398416)
@@ -0,0 +1,45 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: 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=4
+pkgdesc='Portable foreign function interface library'
+arch=('x86_64')
+url='https://sourceware.org/libffi/'
+license=('MIT')
+depends=('glibc')
+checkdepends=('dejagnu')
+provides=('libffi.so')
+source=(https://sourceware.org/pub/libffi/libffi-$pkgver.tar.gz)
+sha256sums=('72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056')
+b2sums=('cddc40729a30a9bd34d675809f51f8d1b4ccaffa54bc6dd6f7e965f4e260edd34754719f9f6247c8957aeb7cf154d56ce1fe16a54c3f1ad39afbebdf41d23caa')
+
+prepare() {
+ cd $pkgname-$pkgver
+ autoreconf -fiv
+}
+
+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 -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+ install -Dm 644 README.md -t "$pkgdir"/usr/share/doc/$pkgname
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list