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

David Runge dvzrv at archlinux.org
Mon Aug 26 19:13:06 UTC 2019


    Date: Monday, August 26, 2019 @ 19:13:06
  Author: dvzrv
Revision: 502159

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   66 ++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 40 insertions(+), 26 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-26 19:12:53 UTC (rev 502158)
+++ PKGBUILD	2019-08-26 19:13:06 UTC (rev 502159)
@@ -1,26 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>
-pkgname=beatslash-lv2
-pkgver=1.0.6
-pkgrel=1
-pkgdesc="A set of plugins for live beat repeating and beat slicing"
-arch=('x86_64')
-url="https://objectivewave.wordpress.com/beatslash-lv2"
-license=('GPL3')
-groups=('lv2-plugins' 'pro-audio')
-depends=('gtkmm')
-makedepends=('lv2' 'lvtk' 'python2')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/blablack/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('d20262946479cbbec1e48dd72a89be46f88d2f48fe55ba5d35535dcdcd1226d52cf57f335dd3aeb3f794590848bbd48e98eb0bf692840f3bd5e600ae93ca8614')
-
-build() {
-  cd "$pkgname-$pkgver"
-  python2 waf configure --prefix=/usr
-  python2 waf
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python2 waf install --destdir="$pkgdir/"
-  install -vDm 644 {THANKS,README.md} -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: beatslash-lv2/repos/community-x86_64/PKGBUILD (from rev 502158, beatslash-lv2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-26 19:13:06 UTC (rev 502159)
@@ -0,0 +1,40 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>
+pkgname=beatslash-lv2
+pkgver=1.0.6
+pkgrel=2
+pkgdesc="A set of plugins for live beat repeating and beat slicing"
+arch=('x86_64')
+url="https://objectivewave.wordpress.com/beatslash-lv2"
+license=('GPL3')
+groups=('lv2-plugins' 'pro-audio')
+depends=('gtkmm')
+makedepends=('lv2' 'lvtk' 'waf')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/blablack/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('d20262946479cbbec1e48dd72a89be46f88d2f48fe55ba5d35535dcdcd1226d52cf57f335dd3aeb3f794590848bbd48e98eb0bf692840f3bd5e600ae93ca8614')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  # moving customizations out
+  mkdir -pv tools
+  mv -v waflib/extras/{autowaf,lv2}.py tools/
+  touch __init__.py
+  # removing custom waflib
+  rm -rv waflib
+  # making sure autowaf is found and lv2 is loaded from tools dir
+  sed -e 's/waflib.extras/tools/g' \
+      -e "s/('lv2')/('lv2', tooldir='tools')/" \
+      -i wscript
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  waf configure --prefix=/usr
+  waf
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  waf install --destdir="$pkgdir/"
+  install -vDm 644 {THANKS,README.md} -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list