[arch-commits] Commit in libffi/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sat Oct 16 03:06:31 UTC 2021
Date: Saturday, October 16, 2021 @ 03:06:30
Author: foutrelis
Revision: 426077
upgpkg: libffi 3.4.2-4: remove libffi.so.7 compat library
Modified:
libffi/trunk/PKGBUILD
----------+
PKGBUILD | 26 ++++----------------------
1 file changed, 4 insertions(+), 22 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-16 00:59:19 UTC (rev 426076)
+++ PKGBUILD 2021-10-16 03:06:30 UTC (rev 426077)
@@ -5,7 +5,7 @@
pkgname=libffi
pkgver=3.4.2
-pkgrel=3
+pkgrel=4
pkgdesc='Portable foreign function interface library'
arch=('x86_64')
url='https://sourceware.org/libffi/'
@@ -13,23 +13,11 @@
depends=('glibc')
checkdepends=('dejagnu')
provides=('libffi.so')
-source=(https://github.com/libffi/libffi/releases/download/v$pkgver/libffi-$pkgver.tar.gz
- https://github.com/libffi/libffi/releases/download/v3.3/libffi-3.3.tar.gz)
-sha256sums=('540fb721619a6aba3bdeef7d940d8e9e0e6d2c193595bc243241b77ff9e93620'
- '72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056')
-b2sums=('a8137bc895b819f949fd7705e405be627219c6d1fdef280253330f7407d4a548bb057d7bb0e9225d1767d42f9bf5f0ab3c455db1c3470d7cc876bb7b7d55d308'
- 'cddc40729a30a9bd34d675809f51f8d1b4ccaffa54bc6dd6f7e965f4e260edd34754719f9f6247c8957aeb7cf154d56ce1fe16a54c3f1ad39afbebdf41d23caa')
+source=(https://github.com/libffi/libffi/releases/download/v$pkgver/libffi-$pkgver.tar.gz)
+sha256sums=('540fb721619a6aba3bdeef7d940d8e9e0e6d2c193595bc243241b77ff9e93620')
+b2sums=('a8137bc895b819f949fd7705e405be627219c6d1fdef280253330f7407d4a548bb057d7bb0e9225d1767d42f9bf5f0ab3c455db1c3470d7cc876bb7b7d55d308')
build() {
- # TODO: remove this block once the libffi 3.4 rebuilds are bootstrapped
- pushd $pkgname-3.3
- ./configure \
- --prefix=/usr \
- --disable-static \
- --enable-pax_emutramp
- make
- popd
-
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)
@@ -47,12 +35,6 @@
}
package() {
- # TODO: remove this block once the libffi 3.4 rebuilds are bootstrapped
- pushd $pkgname-3.3
- make DESTDIR="$srcdir"/fakeinstall install
- install -Dt "$pkgdir"/usr/lib "$srcdir"/fakeinstall/usr/lib/libffi.so.7
- popd
-
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
More information about the arch-commits
mailing list