[arch-commits] Commit in sratom/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Nov 11 17:07:13 UTC 2019
Date: Monday, November 11, 2019 @ 17:07:12
Author: dvzrv
Revision: 526770
upgpkg: sratom 0.6.4-1
Upgrading to 0.6.4. Updating maintainer info. Building with system waf. Adding all direct library dependencies to depends.
Demoting lv2 to makedepends. Adding libsratom-0.so to provides. Minor fixes.
Modified:
sratom/trunk/PKGBUILD
----------+
PKGBUILD | 38 +++++++++++++++++++++++++-------------
1 file changed, 25 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-11 16:44:03 UTC (rev 526769)
+++ PKGBUILD 2019-11-11 17:07:12 UTC (rev 526770)
@@ -1,18 +1,19 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
# Contributor: Ray Rashif <schiv at archlinux.org>
# Contributor: speps <speps at aur dot archlinux dot org>
pkgname=sratom
-pkgver=0.6.2
-pkgrel=2
+pkgver=0.6.4
+pkgrel=1
pkgdesc="An LV2 Atom RDF serialisation library"
arch=('x86_64')
url="https://drobilla.net/software/sratom/"
license=('custom:ISC')
-depends=('lv2' 'sord')
-makedepends=('python2')
+depends=('glibc' 'libserd-0.so' 'libsord-0.so')
+makedepends=('lv2' 'waf')
+provides=('libsratom-0.so')
source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.sig})
-sha512sums=('356e1dfde07fcc3eff99186ff79501557572f5d73338fd096bf639a82d1d4fe3c0e790627c8eb088053e4a2aeed4e548aca0a5572d1ab26316cfdb13374f10ac'
+sha512sums=('6462d8d33ed7ddaa2aea267fab14c9a15bfc077a4f8d26eb493be4c48c95d8dcec614f540bd82fe22aecca641771326a44d175c3991cd473ae371062c78aaac3'
'SKIP')
validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3')
@@ -20,29 +21,40 @@
cd "${pkgname}-${pkgver}"
# remove local ldconfig call
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 {NEWS,README}
+ -vDm 644 {NEWS,README.md}
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list