[arch-commits] Commit in sord/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Nov 11 15:06:30 UTC 2019
Date: Monday, November 11, 2019 @ 15:06:29
Author: dvzrv
Revision: 526754
upgpkg: sord 0.16.4-1
Upgrading to 0.16.4. Updating maintainer info. Using system waf to build, test and install. Minor fixes.
Modified:
sord/trunk/PKGBUILD
----------+
PKGBUILD | 37 ++++++++++++++++++++++++-------------
1 file changed, 24 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-11 14:57:04 UTC (rev 526753)
+++ PKGBUILD 2019-11-11 15:06:29 UTC (rev 526754)
@@ -1,18 +1,18 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Ray Rashif <schiv at archlinux.org>
# Contributor: speps <speps at aur dot archlinux dot org>
pkgname=sord
-pkgver=0.16.2
+pkgver=0.16.4
pkgrel=1
pkgdesc="A lightweight C library for storing RDF data in memory"
arch=('x86_64')
url="https://drobilla.net/software/sord/"
license=('custom:ISC')
-depends=('serd' 'pcre')
-makedepends=('python2')
+depends=('glibc' 'libserd-0.so' 'pcre')
+makedepends=('waf')
source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.sig})
-sha512sums=('fe143c07ed18c15ffaf2461ca587df76e365a075f5d93f5eaa4c26196e0b1dd59d24d16e176de3664a2658377a2934083af5742c80884e8e7dd201dcaccb9698'
+sha512sums=('98bb102cff5ab38d999c2f966597508076ccce54583a739810b0c28b4f3d570b2ef414605fc08361ecb11ac3184d3176f2f50c7c59c06cc50c3d522e26ed5576'
'SKIP')
validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard
@@ -20,29 +20,40 @@
cd "${pkgname}-${pkgver}"
# remove local call to ldconfig
sed -i "/ldconfig/d" wscript
+ # let wscript(s) find the custom waf scripts
+ mkdir -pv tools
+ touch __init__.py
+ cp -v waflib/extras/{autoship,autowaf,lv2}.py tools/
+ mkdir -pv plugins/tools/
+ cp -v waflib/extras/{autoship,autowaf,lv2}.py plugins/tools/
+ rm -rv waflib
+ sed -e 's/waflib.extras/tools/g' \
+ -e "s/load('autowaf'/load('autowaf', tooldir='tools'/g" \
+ -e "s/load('lv2'/load('lv2', tooldir='tools'/g" \
+ -i wscript
}
build() {
cd "${pkgname}-${pkgver}"
- python2 waf configure --prefix=/usr \
- --test
- python2 waf build
+ waf configure --prefix=/usr \
+ --test
+ waf build
}
check() {
cd "${pkgname}-${pkgver}"
- python2 waf test --verbose-tests
+ waf test
}
package() {
cd "${pkgname}-${pkgver}"
- python2 waf install --destdir="$pkgdir"
+ waf install --destdir="$pkgdir"
# license
install -vDm 644 COPYING \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ -t "$pkgdir/usr/share/licenses/$pkgname"
# docs
install -t "$pkgdir/usr/share/doc/${pkgname}" \
- -vDm 644 {AUTHORS,NEWS,README}
+ -vDm 644 {AUTHORS,NEWS,README.md}
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list