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

David Runge dvzrv at archlinux.org
Mon Nov 11 15:06:46 UTC 2019


    Date: Monday, November 11, 2019 @ 15:06:46
  Author: dvzrv
Revision: 526755

archrelease: copy trunk to community-x86_64

Added:
  sord/repos/community-x86_64/PKGBUILD
    (from rev 526754, sord/trunk/PKGBUILD)
Deleted:
  sord/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  108 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 59 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-11 15:06:29 UTC (rev 526754)
+++ PKGBUILD	2019-11-11 15:06:46 UTC (rev 526755)
@@ -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=sord
-pkgver=0.16.2
-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=('serd' 'pcre')
-makedepends=('python2')
-source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.sig})
-sha512sums=('fe143c07ed18c15ffaf2461ca587df76e365a075f5d93f5eaa4c26196e0b1dd59d24d16e176de3664a2658377a2934083af5742c80884e8e7dd201dcaccb9698'
-            'SKIP')
-validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard
-
-prepare() {
-  cd "${pkgname}-${pkgver}"
-  # remove local call to ldconfig
-  sed -i "/ldconfig/d" wscript
-}
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  python2 waf configure --prefix=/usr \
-                       --test
-  python2 waf build
-}
-
-check() {
-  cd "${pkgname}-${pkgver}"
-  python2 waf test --verbose-tests
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  python2 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}
-}
-
-# vim:set ts=2 sw=2 et:

Copied: sord/repos/community-x86_64/PKGBUILD (from rev 526754, sord/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-11 15:06:46 UTC (rev 526755)
@@ -0,0 +1,59 @@
+# 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:



More information about the arch-commits mailing list