[arch-commits] Commit in serd/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Tue Jun 7 18:14:22 UTC 2022
Date: Tuesday, June 7, 2022 @ 18:14:22
Author: dvzrv
Revision: 1228543
upgpkg: serd 0.30.12-1: Upgrade to 0.30.12.
Remove unnecessary quotes and curly braces.
Export LINKFLAGS as waf otherwise overlinks everything.
Add debug package.
Modified:
serd/trunk/PKGBUILD
----------+
PKGBUILD | 39 +++++++++++++++++++--------------------
1 file changed, 19 insertions(+), 20 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-07 18:08:21 UTC (rev 1228542)
+++ PKGBUILD 2022-06-07 18:14:22 UTC (rev 1228543)
@@ -3,24 +3,25 @@
# Contributor: speps <speps at aur dot archlinux dot org>
pkgname=serd
-pkgver=0.30.10
+pkgver=0.30.12
pkgrel=1
pkgdesc="Lightweight C library for RDF syntax supporting reading/ writing Turtle and NTriples."
-arch=('x86_64')
+arch=(x86_64)
url="https://drobilla.net/software/serd/"
-license=('custom:ISC')
-depends=('glibc')
-makedepends=('waf')
-provides=('libserd-0.so')
-source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.sig})
-sha512sums=('ed7b49abfd3dc3a724b047f5f0cd07b811596330c96d91c0ce90540440f03260e05daee76c3ccccc3d4ca39afbbd4f3d07decbb601730e90c133a09c640c0006'
+license=(custom:ISC)
+depends=(glibc)
+makedepends=(waf)
+provides=(libserd-0.so)
+options=(debug)
+source=(https://download.drobilla.net/$pkgname-$pkgver.tar.bz2{,.sig})
+sha512sums=('c330648eb2c947a6d220f42d0af63fd2744da496301483e58be3cda387da166711d6acd5cee2df8cbb837ab450e1802b3f9a0a2973e5ad6d976b69b863aecb7f'
'SKIP')
-b2sums=('7f84b425a9eed36c5b59b22b8fd2cb9139a3de2bd1a47f92fd9888c433d931dcf83f13c2460d821c04f4244a79aa4330ba973017508ecb5f4564e78ae45b9b9a'
+b2sums=('acd065613494f05d1b2016c2097c1efbd1ebe3a5b901fac3a60d27140fee5c51ec17314df7ac2d3ad89d852dcb016dcf7255271f506f900445ce275335ed7d01'
'SKIP')
validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard <d at drobilla.net>
prepare() {
- cd "${pkgname}-${pkgver}"
+ cd $pkgname-$pkgver
# remove call to local ldconfig
sed -i "/ldconfig/d" wscript
# let wscript(s) find the custom waf scripts
@@ -37,7 +38,9 @@
}
build() {
- cd "${pkgname}-${pkgver}"
+ export LINKFLAGS="$LDFLAGS"
+
+ cd $pkgname-$pkgver
waf configure --prefix=/usr \
--mandir=/usr/share/man \
--test
@@ -45,18 +48,14 @@
}
check() {
- cd "${pkgname}-${pkgver}"
+ cd $pkgname-$pkgver
waf test
}
package() {
- cd "${pkgname}-${pkgver}"
- waf install --destdir="${pkgdir}"
- # license
- install -vDm 644 COPYING \
- "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
- # docs
- install -t "$pkgdir/usr/share/doc/${pkgname}" \
- -vDm 644 {AUTHORS,NEWS,README.md}
+ cd $pkgname-$pkgver
+ waf install --destdir="$pkgdir"
+ install -vDm 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
+ install -vDm 644 {AUTHORS,NEWS,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list