[arch-commits] Commit in rasqal/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Sat Feb 19 13:53:49 UTC 2022


    Date: Saturday, February 19, 2022 @ 13:53:48
  Author: dvzrv
Revision: 437759

upgpkg: rasqal 1:0.9.33-5: Rebuild to add missing make dependency (gtk-doc).

The gtk-doc dependency seems to have been implicitly added in the past:
https://bugs.archlinux.org/task/72101
Add debug package.
Simplify calls to make.
Remove unneeded quotes and curly braces.

Modified:
  rasqal/trunk/PKGBUILD

----------+
 PKGBUILD |   37 ++++++++++++++++++-------------------
 1 file changed, 18 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-19 13:39:34 UTC (rev 437758)
+++ PKGBUILD	2022-02-19 13:53:48 UTC (rev 437759)
@@ -4,17 +4,18 @@
 # Contributor: Lawrence Lee <valheru at facticius.net>
 
 pkgname=rasqal
+pkgver=0.9.33
+pkgrel=5
 epoch=1
-pkgver=0.9.33
-pkgrel=4
 pkgdesc="A library handling RDF query syntaxes, construction and execution"
-url="http://librdf.org/rasqal"
-license=('LGPL2.1')
-arch=('x86_64')
-depends=('glibc' 'libgcrypt' 'libgpg-error' 'mpfr' 'pcre')
-makedepends=('raptor' 'util-linux')
-provides=('librasqual.so')
-source=(http://download.librdf.org/source/${pkgname}-${pkgver}.tar.gz{,.asc})
+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)
+options=(debug)
+source=(https://download.librdf.org/source/$pkgname-$pkgver.tar.gz{,.asc})
 sha512sums=('05728682797470db9e51d156012e8fde9dec1554d107372faa11cbe6cdc3356e92386f4f8de6d7c41e3100b76f9b1c6809102a913829cddbd2ff29043c04d522'
             'SKIP')
 b2sums=('87bca86b2f0dceb0801f5a34dae9ae1f87d8a7d0dc1e03fdf04998a0d4885ed76be2719d3e01489a5510a26715bb093a75ce194cc42f3cedff88f64161d6a2fb'
@@ -22,12 +23,12 @@
 validpgpkeys=('F879F0DEDA780198DD08DC6443EC92504F71955A') # Dave Beckett <dave at dajobe.org>
 
 prepare() {
-  cd "${pkgname}-${pkgver}"
-  autoreconf -vfi
+  cd $pkgname-$pkgver
+  autoreconf -fiv
 }
 
 build() {
-  cd "${pkgname}-${pkgver}"
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr \
               --disable-static \
               --enable-release
@@ -35,14 +36,12 @@
 }
 
 check() {
-  cd "${pkgname}-${pkgver}"
-  make -k check || true # still fails some checks
+  make -k check -C $pkgname-$pkgver
 }
 
 package() {
-  depends+=('libraptor2.so' 'libuuid.so')
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-  install -vDm 644 {ChangeLog*,README,NEWS} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  depends+=(libraptor2.so libuuid.so)
+
+  make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
+  install -vDm 644 $pkgname-$pkgver/{ChangeLog*,README,NEWS} -t "$pkgdir/usr/share/doc/$pkgname/"
 }



More information about the arch-commits mailing list