Date: Saturday, March 18, 2023 @ 20:03:21 Author: dvzrv Revision: 471529
upgpkg: rasqal 1:0.9.33-6: Rebuild to re-sign package. Fix name of provided shared object. Move configure options to local bash array for better handling. Prevent libtool from overlinking. Remove unneded dependency on libgpg-error. Add dependency on sh for legacy -config script. Modified: rasqal/trunk/PKGBUILD ----------+ PKGBUILD | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-03-18 19:18:05 UTC (rev 471528) +++ PKGBUILD 2023-03-18 20:03:21 UTC (rev 471529) @@ -5,15 +5,25 @@ pkgname=rasqal pkgver=0.9.33 -pkgrel=5 +pkgrel=6 epoch=1 pkgdesc="A library handling RDF query syntaxes, construction and execution" license=(LGPL2.1) url="https://librdf.org/rasqal" arch=(x86_64) -depends=(glibc libgcrypt libgpg-error mpfr pcre) -makedepends=(gtk-doc raptor util-linux) -provides=(librasqual.so) +depends=( + glibc + libgcrypt + mpfr + pcre + sh +) +makedepends=( + gtk-doc + raptor + util-linux +) +provides=(librasqal.so) source=(https://download.librdf.org/source/$pkgname-$pkgver.tar.gz{,.asc}) sha512sums=('05728682797470db9e51d156012e8fde9dec1554d107372faa11cbe6cdc3356e92386f4f8de6d7c41e3100b76f9b1c6809102a913829cddbd2ff29043c04d522' 'SKIP') @@ -27,10 +37,16 @@ } build() { + local configure_options=( + --prefix=/usr + --disable-static + --enable-release + ) + cd $pkgname-$pkgver - ./configure --prefix=/usr \ - --disable-static \ - --enable-release + ./configure "${configure_options[@]}" + # prevent excessive overlinking due to libtool + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } @@ -39,7 +55,10 @@ } package() { - depends+=(libraptor2.so libuuid.so) + depends+=( + raptor libraptor2.so + util-linux-libs libuuid.so + ) make DESTDIR="$pkgdir" install -C $pkgname-$pkgver install -vDm 644 $pkgname-$pkgver/{ChangeLog*,README,NEWS} -t "$pkgdir/usr/share/doc/$pkgname/"
