Date: Thursday, June 9, 2022 @ 12:28:09 Author: dvzrv Revision: 1229577
archrelease: copy trunk to community-x86_64 Added: sratom/repos/community-x86_64/PKGBUILD (from rev 1229576, sratom/trunk/PKGBUILD) Deleted: sratom/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 126 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 63 insertions(+), 63 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-06-09 12:27:56 UTC (rev 1229576) +++ PKGBUILD 2022-06-09 12:28:09 UTC (rev 1229577) @@ -1,63 +0,0 @@ -# Maintainer: David Runge <dv...@archlinux.org> -# Contributor: Ray Rashif <sc...@archlinux.org> -# Contributor: speps <speps at aur dot archlinux dot org> - -pkgname=sratom -pkgver=0.6.10 -pkgrel=2 -pkgdesc="An LV2 Atom RDF serialisation library" -arch=(x86_64) -url="https://drobilla.net/software/sratom/" -license=(ISC) -depends=(glibc lv2) -makedepends=(serd sord waf) -provides=(libsratom-0.so) -options=(debug) -source=(https://download.drobilla.net/$pkgname-$pkgver.tar.bz2{,.sig}) -sha512sums=('cc5d2848d61de45a37d1f844b2c741016decf065bcac975214dd01108171ba332f0a51526f2f1078d5f501055af0a48716704515cbe7a9f73526fd878621ca4b' - 'SKIP') -b2sums=('6205a0269216099556556cd251649eba58fdf1a2c8a80611367f3b9564fe410ed7ff1c565ab7b628743fa99ca893eb7a86fed631872eff86e19de9ba534fae49' - 'SKIP') -validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard <d...@drobilla.net> - -prepare() { - 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() { - export LINKFLAGS="$LDFLAGS" - - cd $pkgname-$pkgver - waf configure --prefix=/usr \ - --test - waf build -} - -check() { - cd $pkgname-$pkgver - waf test -} - - -package() { - depends+=(libserd-0.so libsord-0.so) - - cd $pkgname-$pkgver - waf install --destdir="$pkgdir" - install -vDm 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/" - install -vDm 644 {NEWS,README.md} -t "$pkgdir/usr/share/doc/$pkgname/" -} -# vim:set ts=2 sw=2 et: Copied: sratom/repos/community-x86_64/PKGBUILD (from rev 1229576, sratom/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-06-09 12:28:09 UTC (rev 1229577) @@ -0,0 +1,63 @@ +# Maintainer: David Runge <dv...@archlinux.org> +# Contributor: Ray Rashif <sc...@archlinux.org> +# Contributor: speps <speps at aur dot archlinux dot org> + +pkgname=sratom +pkgver=0.6.10 +pkgrel=3 +pkgdesc="An LV2 Atom RDF serialisation library" +arch=(x86_64) +url="https://drobilla.net/software/sratom.html" +license=(ISC) +depends=(glibc lv2) +makedepends=(serd sord waf) +provides=(libsratom-0.so) +options=(debug) +source=(https://download.drobilla.net/$pkgname-$pkgver.tar.bz2{,.sig}) +sha512sums=('cc5d2848d61de45a37d1f844b2c741016decf065bcac975214dd01108171ba332f0a51526f2f1078d5f501055af0a48716704515cbe7a9f73526fd878621ca4b' + 'SKIP') +b2sums=('6205a0269216099556556cd251649eba58fdf1a2c8a80611367f3b9564fe410ed7ff1c565ab7b628743fa99ca893eb7a86fed631872eff86e19de9ba534fae49' + 'SKIP') +validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard <d...@drobilla.net> + +prepare() { + 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() { + export LINKFLAGS="$LDFLAGS" + + cd $pkgname-$pkgver + waf configure --prefix=/usr \ + --test + waf build +} + +check() { + cd $pkgname-$pkgver + waf test +} + + +package() { + depends+=(libserd-0.so libsord-0.so) + + cd $pkgname-$pkgver + waf install --destdir="$pkgdir" + install -vDm 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/" + install -vDm 644 {NEWS,README.md} -t "$pkgdir/usr/share/doc/$pkgname/" +} +# vim:set ts=2 sw=2 et: