Date: Monday, July 10, 2017 @ 13:36:35 Author: eworm Revision: 300021
upgpkg: jemalloc 1:5.0.1-2 drop static libraries Modified: jemalloc/trunk/PKGBUILD ----------+ PKGBUILD | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-07-10 13:13:40 UTC (rev 300020) +++ PKGBUILD 2017-07-10 13:36:35 UTC (rev 300021) @@ -6,7 +6,7 @@ pkgname=jemalloc epoch=1 pkgver=5.0.1 -pkgrel=1 +pkgrel=2 pkgdesc='General-purpose scalable concurrent malloc implementation' arch=('i686' 'x86_64') license=('BSD') @@ -19,6 +19,7 @@ build() { cd $pkgname-$pkgver + ./configure --prefix=/usr make } @@ -25,7 +26,12 @@ package() { cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install - find "$pkgdir" -name \*.a -type f -exec chmod 644 '{}' \; + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + + # static and shared libraries are named different, + # so we have to remove manually + rm "$pkgdir"/usr/lib/*.a }