[arch-commits] Commit in sratom/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Sat Nov 20 11:28:20 UTC 2021
Date: Saturday, November 20, 2021 @ 11:28:20
Author: dvzrv
Revision: 1052835
archrelease: copy trunk to community-x86_64
Added:
sratom/repos/community-x86_64/PKGBUILD
(from rev 1052834, sratom/trunk/PKGBUILD)
Deleted:
sratom/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 126 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 64 insertions(+), 62 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-20 11:28:13 UTC (rev 1052834)
+++ PKGBUILD 2021-11-20 11:28:20 UTC (rev 1052835)
@@ -1,62 +0,0 @@
-# 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.8
-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)
-source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.asc})
-sha512sums=('49ec4b230a72005ab7a7a3de0bfa630a27a16f9f811ca8e7f6da7fcf6b34526577217075d428a993f95b813dd2a82a9b6892eeb2e36b66b122ada778fbb3fb95'
- 'SKIP')
-b2sums=('8e11e03e6a66e9c96f90a0f31f4a65c660ed44304600caa2daad09b955a4829b266f7495b8ed85c62c34adfbc3e7f97790096bd721b51e1038986ac2e3926e60'
- 'SKIP')
-validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard <d at 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() {
- 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}"
- # license
- install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
- # docs
- 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 1052834, sratom/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-20 11:28:20 UTC (rev 1052835)
@@ -0,0 +1,64 @@
+# 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.8
+pkgrel=3
+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)
+source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.asc})
+sha512sums=('49ec4b230a72005ab7a7a3de0bfa630a27a16f9f811ca8e7f6da7fcf6b34526577217075d428a993f95b813dd2a82a9b6892eeb2e36b66b122ada778fbb3fb95'
+ 'SKIP')
+b2sums=('8e11e03e6a66e9c96f90a0f31f4a65c660ed44304600caa2daad09b955a4829b266f7495b8ed85c62c34adfbc3e7f97790096bd721b51e1038986ac2e3926e60'
+ 'SKIP')
+validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard <d at 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() {
+ cd "${pkgname}-${pkgver}"
+
+ export LINKFLAGS="$LDFLAGS"
+ 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}"
+ # license
+ install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ # docs
+ install -vDm 644 {NEWS,README.md} -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list