[arch-commits] Commit in serd/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Apr 26 20:41:18 UTC 2020
Date: Sunday, April 26, 2020 @ 20:41:17
Author: dvzrv
Revision: 621670
archrelease: copy trunk to community-x86_64
Added:
serd/repos/community-x86_64/PKGBUILD
(from rev 621669, serd/trunk/PKGBUILD)
Deleted:
serd/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 121 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 60 insertions(+), 61 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-26 20:41:00 UTC (rev 621669)
+++ PKGBUILD 2020-04-26 20:41:17 UTC (rev 621670)
@@ -1,61 +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=serd
-pkgver=0.30.2
-pkgrel=1
-pkgdesc="Lightweight C library for RDF syntax supporting reading/ writing Turtle and NTriples."
-arch=('x86_64')
-url="https://drobilla.net/software/serd/"
-license=('custom:ISC')
-depends=('glibc')
-makedepends=('waf')
-checkdepends=('python-rdflib')
-provides=('libserd-0.so')
-source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.sig})
-sha512sums=('b1e18ac883aac2a8146ee0e1de553ac2b512deba5307e5c9fa2733d9011ed0777d67790aa6527e73b3f11c9da0d8c9a98227457bb412897296f4464228cac0f7'
- 'SKIP')
-validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3')
-
-prepare() {
- cd "${pkgname}-${pkgver}"
- # remove call to local 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 \
- --mandir=/usr/share/man \
- --test
- waf
-}
-
-check() {
- cd "${pkgname}-${pkgver}"
- waf test
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- waf install --destdir="${pkgdir}"
- # license
- install -vDm 644 COPYING \
- "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
- # docs
- install -t "$pkgdir/usr/share/doc/${pkgname}" \
- -vDm 644 {AUTHORS,NEWS,README.md}
-}
-# vim:set ts=2 sw=2 et:
Copied: serd/repos/community-x86_64/PKGBUILD (from rev 621669, serd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-26 20:41:17 UTC (rev 621670)
@@ -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=serd
+pkgver=0.30.4
+pkgrel=1
+pkgdesc="Lightweight C library for RDF syntax supporting reading/ writing Turtle and NTriples."
+arch=('x86_64')
+url="https://drobilla.net/software/serd/"
+license=('custom:ISC')
+depends=('glibc')
+makedepends=('waf')
+provides=('libserd-0.so')
+source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.sig})
+sha512sums=('4cc032f826d891213c6db787b10a41ffb8f4b2a3357ffa536e34013755dc34db7109d1b42f550a0d559d8651f56c3a5dfb3654c3e2047ee6e609ff9a5fe803d6'
+ 'SKIP')
+validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ # remove call to local 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 \
+ --mandir=/usr/share/man \
+ --test
+ waf -v build
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ waf test
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ waf install --destdir="${pkgdir}"
+ # license
+ install -vDm 644 COPYING \
+ "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+ # 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