Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build-support/libffi33
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-10-25 19:12:06 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-10-25 19:12:06 +0200
commitb18f14b390f02aa353d2bbc110793ddcff662742 (patch)
treedd6f50401639d35e5e5e79f85d924358ca4be3d5 /build-support/libffi33
parent60f70593b491c1b7629cc748a8cb632ba2736b0e (diff)
community/libffi33: moved from build-support
Diffstat (limited to 'build-support/libffi33')
-rw-r--r--build-support/libffi33/PKGBUILD50
1 files changed, 0 insertions, 50 deletions
diff --git a/build-support/libffi33/PKGBUILD b/build-support/libffi33/PKGBUILD
deleted file mode 100644
index 0c19a6a6..00000000
--- a/build-support/libffi33/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
-# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
-# Contributor: Jan de Groot <jgc@archlinux.org>
-
-pkgname=libffi33
-_pkgname=libffi
-pkgver=3.3
-pkgrel=5
-pkgdesc='Portable foreign function interface library'
-arch=(i486 i686 pentium4 'x86_64')
-url='https://sourceware.org/libffi/'
-license=('MIT')
-depends=('glibc')
-checkdepends=('dejagnu')
-provides=('libffi.so')
-source=(https://github.com/libffi/libffi/releases/download/v$pkgver/libffi-$pkgver.tar.gz)
-sha256sums=('72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056')
-b2sums=('cddc40729a30a9bd34d675809f51f8d1b4ccaffa54bc6dd6f7e965f4e260edd34754719f9f6247c8957aeb7cf154d56ce1fe16a54c3f1ad39afbebdf41d23caa')
-
-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() {
- true
-# 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
- rm -rf "$pkgdir"/usr/lib/libffi.so
- rm -rf "$pkgdir"/usr/include
- rm -rf "$pkgdir"/usr/lib/pkgconfig
- rm -rf "$pkgdir"/usr/share
-}
-
-# vim: ts=2 sw=2 et: