diff options
Diffstat (limited to 'libre/libffi-static/PKGBUILD')
-rw-r--r-- | libre/libffi-static/PKGBUILD | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/libre/libffi-static/PKGBUILD b/libre/libffi-static/PKGBUILD deleted file mode 100644 index 4badbc994..000000000 --- a/libre/libffi-static/PKGBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Maintainer: Márcio Silva <coadde@parabola.nu> -# based of libffi - -_pkgname=libffi -pkgname=libffi-static -pkgver=3.2.1 -pkgrel=1 -pkgdesc='Portable foreign function interface library (static libraries only)' -arch=('i686' 'x86_64' 'armv7h') -url='http://sourceware.org/libffi/' -license=('MIT') -depends=('libffi') -checkdepends=('dejagnu') -options=('staticlibs') -source=(ftp://sourceware.org/pub/libffi/libffi-$pkgver.tar.gz) -sha1sums=('280c265b789e041c02e5c97815793dfc283fb1e6') - -build() { - cd $_pkgname-$pkgver - ./configure --prefix=/usr --enable-static \ - --enable-pax_emutramp - make -} - -check() { - make -C $_pkgname-$pkgver check -} - -package() { - cd $_pkgname-$pkgver - make DESTDIR="$pkgdir" install - - # remove conflicting files - rm -vr ${pkgdir}/usr/{lib/{libffi-${pkgver},pkgconfig},share} - rm -v ${pkgdir}/usr/lib/libffi.so* -} |