Date: Thursday, October 15, 2020 @ 21:04:12 Author: anthraxx Revision: 398415
upgpkg: libffi 3.3-4: adding libprovides Modified: libffi/trunk/PKGBUILD ----------+ PKGBUILD | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-10-15 20:26:03 UTC (rev 398414) +++ PKGBUILD 2020-10-15 21:04:12 UTC (rev 398415) @@ -1,10 +1,11 @@ -# Maintainer: Bartłomiej Piotrowski <[email protected]> +# 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.3 -pkgrel=3 +pkgrel=4 pkgdesc='Portable foreign function interface library' arch=('x86_64') url='https://sourceware.org/libffi/' @@ -11,12 +12,21 @@ 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 \ + ./configure \ + --prefix=/usr \ + --disable-static \ --enable-pax_emutramp make } @@ -28,5 +38,8 @@ package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + 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:
