[arch-commits] Commit in serd/repos/community-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Mon Oct 21 07:54:26 UTC 2019


    Date: Monday, October 21, 2019 @ 07:54:25
  Author: dvzrv
Revision: 518049

archrelease: copy trunk to community-x86_64

Added:
  serd/repos/community-x86_64/PKGBUILD
    (from rev 518048, serd/trunk/PKGBUILD)
Deleted:
  serd/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  110 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 61 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-21 07:54:12 UTC (rev 518048)
+++ PKGBUILD	2019-10-21 07:54:25 UTC (rev 518049)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: David Runge <dave at sleepmap.de>
-# Maintainer: Ray Rashif <schiv at archlinux.org>
-# Contributor: speps <speps at aur dot archlinux dot org>
-
-pkgname=serd
-pkgver=0.30.0
-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=('python')
-source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.sig})
-sha512sums=('23ff30f2d3dd622bdd65deee36cb92ae5f4a0c539cf32a1bd9802f2d7cf4aa3e96f25d2fe579277d1ab943f6d25c0be68d7b4863f83d4733f489462620a4c1bb'
-            'SKIP')
-validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3')
-
-prepare() {
-  cd "${pkgname}-${pkgver}"
-  # remove call to local ldconfig
-  sed -i "/ldconfig/d" wscript
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  python waf configure --prefix=/usr \
-                       --mandir=/usr/share/man \
-                       --test
-  python waf
-}
-
-check() {
-  cd "${pkgname}-${pkgver}"
-  python waf test
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  python 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 518048, serd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-10-21 07:54:25 UTC (rev 518049)
@@ -0,0 +1,61 @@
+# 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:



More information about the arch-commits mailing list