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

David Runge dvzrv at archlinux.org
Fri Mar 16 17:15:58 UTC 2018


    Date: Friday, March 16, 2018 @ 17:15:57
  Author: dvzrv
Revision: 308899

archrelease: copy trunk to community-x86_64

Added:
  lv2/repos/community-x86_64/PKGBUILD
    (from rev 308898, lv2/trunk/PKGBUILD)
Deleted:
  lv2/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   94 ++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 57 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-16 17:15:43 UTC (rev 308898)
+++ PKGBUILD	2018-03-16 17:15:57 UTC (rev 308899)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Ray Rashif <schiv at archlinux.org>
-
-pkgname=lv2
-pkgver=1.14.0
-pkgrel=2
-pkgdesc="Successor to the LADSPA audio plug-in standard"
-url="http://lv2plug.in/"
-license=('LGPL' 'custom')
-arch=('x86_64')
-makedepends=('python2' 'libsndfile' 'gtk2')
-optdepends=('libsndfile: Example sampler'
-            'gtk2: Example sampler'
-            'python2: Scripts')
-provides=('lv2core')
-conflicts=('lv2core')
-replaces=('lv2core')
-source=("http://lv2plug.in/spec/$pkgname-$pkgver.tar.bz2")
-md5sums=('0b56285a77aac3c93b50c36203aa91ee')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  python2 waf configure --prefix=/usr --libdir=/usr/lib
-  python2 waf build $MAKEFLAGS
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  python2 waf install --destdir="$pkgdir"
-
-  install -Dm644 COPYING \
-    "$pkgdir/usr/share/licenses/$pkgname/COPYING"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: lv2/repos/community-x86_64/PKGBUILD (from rev 308898, lv2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-03-16 17:15:57 UTC (rev 308899)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+
+pkgname=lv2
+pkgver=1.14.0
+pkgrel=3
+pkgdesc="Plugin standard for audio systems"
+url="http://lv2plug.in/"
+license=('LGPL' 'custom')
+arch=('x86_64')
+makedepends=('asciidoc' 'doxygen' 'gtk2' 'libsndfile' 'pygmentize'
+'python2-pygments' 'python2-rdflib' 'python2-six')
+optdepends=('libsndfile: Example sampler'
+            'gtk2: Example sampler'
+            'python2-pygments: Documentation generator script'
+            'python2-rdflib: Documentation generator script')
+provides=('lv2core')
+conflicts=('lv2core')
+replaces=('lv2core')
+source=("http://lv2plug.in/spec/${pkgname}-${pkgver}.tar.bz2"{,.asc})
+sha512sums=('6991d848ed9f04a48ca3070efc15af83431f680aa8a8559a02b1666f7b8d43af8e089f78c3b14ad3345dac32fd1c8ad0faf3a3f56dddc07c6f0e0aeef4077498'
+            'SKIP') # David Robillard
+validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3')
+
+prepare(){
+  cd "${pkgname}-${pkgver}"
+  # fix python2 shebang
+  sed -e 's/python/python2/' -i lv2specgen/lv2specgen.py
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  python2 waf configure --prefix=/usr \
+    --libdir=/usr/lib \
+    --docs \
+    --test
+  python2 waf build $MAKEFLAGS
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  python2 waf test
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  python2 waf install --destdir="${pkgdir}"
+  # license
+  install -vDm644 COPYING \
+    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  # docs
+  install -vDm644 {NEWS,README.md}\
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list