[arch-commits] Commit in sord/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Nov 11 15:16:27 UTC 2019
Date: Monday, November 11, 2019 @ 15:16:26
Author: dvzrv
Revision: 526757
archrelease: copy trunk to community-x86_64
Added:
sord/repos/community-x86_64/PKGBUILD
(from rev 526756, sord/trunk/PKGBUILD)
Deleted:
sord/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 119 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 60 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-11 15:16:04 UTC (rev 526756)
+++ PKGBUILD 2019-11-11 15:16:26 UTC (rev 526757)
@@ -1,59 +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=sord
-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=('glibc' 'libserd-0.so' 'pcre')
-makedepends=('waf')
-source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.sig})
-sha512sums=('98bb102cff5ab38d999c2f966597508076ccce54583a739810b0c28b4f3d570b2ef414605fc08361ecb11ac3184d3176f2f50c7c59c06cc50c3d522e26ed5576'
- 'SKIP')
-validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard
-
-prepare() {
- 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}"
- waf configure --prefix=/usr \
- --test
- waf build
-}
-
-check() {
- cd "${pkgname}-${pkgver}"
- waf test
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- waf install --destdir="$pkgdir"
- # license
- install -vDm 644 COPYING \
- -t "$pkgdir/usr/share/licenses/$pkgname"
- # docs
- install -t "$pkgdir/usr/share/doc/${pkgname}" \
- -vDm 644 {AUTHORS,NEWS,README.md}
-}
-
-# vim:set ts=2 sw=2 et:
Copied: sord/repos/community-x86_64/PKGBUILD (from rev 526756, sord/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-11 15:16:26 UTC (rev 526757)
@@ -0,0 +1,60 @@
+# 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.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=('glibc' 'libserd-0.so' 'pcre')
+makedepends=('waf')
+provides=('libsord-0.so')
+source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.sig})
+sha512sums=('98bb102cff5ab38d999c2f966597508076ccce54583a739810b0c28b4f3d570b2ef414605fc08361ecb11ac3184d3176f2f50c7c59c06cc50c3d522e26ed5576'
+ 'SKIP')
+validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard
+
+prepare() {
+ 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}"
+ waf configure --prefix=/usr \
+ --test
+ waf build
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ waf test
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ waf install --destdir="$pkgdir"
+ # license
+ install -vDm 644 COPYING \
+ -t "$pkgdir/usr/share/licenses/$pkgname"
+ # docs
+ install -t "$pkgdir/usr/share/doc/${pkgname}" \
+ -vDm 644 {AUTHORS,NEWS,README.md}
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list