[arch-commits] Commit in lv2/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Tue Feb 5 22:33:41 UTC 2019


    Date: Tuesday, February 5, 2019 @ 22:33:40
  Author: dvzrv
Revision: 429677

upgpkg: lv2 1.16.0-1

Upgrading to 1.16.0. Switching to python based make/optdepends. Removing python2 shebang fix.

Modified:
  lv2/trunk/PKGBUILD

----------+
 PKGBUILD |   43 +++++++++++++++++--------------------------
 1 file changed, 17 insertions(+), 26 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-05 22:20:32 UTC (rev 429676)
+++ PKGBUILD	2019-02-05 22:33:40 UTC (rev 429677)
@@ -2,54 +2,45 @@
 # Contributor: Ray Rashif <schiv at archlinux.org>
 
 pkgname=lv2
-pkgver=1.14.0
-pkgrel=3
+pkgver=1.16.0
+pkgrel=1
 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')
+'python-pygments' 'python-rdflib')
 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')
+            'gtk2: Example scope and sampler'
+            'python-pygments: Documentation generator script'
+            'python-rdflib: Documentation generator script')
+source=("http://lv2plug.in/spec/${pkgname}-${pkgver}.tar.bz2"{,.sig})
+sha512sums=('ead6d590cded5dd7a548d6ffe0f2f9f8efadfa7bb9e8b4fa0aea6664ccdfbb3ca697514bddebe695a9442fba5b62714b5cd45c1bf7d0aaef12ffe50972c2d88c'
+            'SKIP')
+validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard <d at drobilla.net>
 
-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 \
+  python waf configure --prefix=/usr \
     --libdir=/usr/lib \
     --docs \
     --test
-  python2 waf build $MAKEFLAGS
+  python waf build $MAKEFLAGS
 }
 
 check() {
   cd "${pkgname}-${pkgver}"
-  python2 waf test
+  python waf test
 }
 
 package() {
   cd "${pkgname}-${pkgver}"
-  python2 waf install --destdir="${pkgdir}"
+  python waf install --destdir="${pkgdir}"
   # license
-  install -vDm644 COPYING \
-    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -vDm 644 COPYING \
+    -t "${pkgdir}/usr/share/licenses/${pkgname}/"
   # docs
-  install -vDm644 {NEWS,README.md}\
+  install -vDm 644 {NEWS,README.md} \
     -t "${pkgdir}/usr/share/doc/${pkgname}"
 }
 



More information about the arch-commits mailing list