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

David Runge dvzrv at archlinux.org
Mon Apr 20 10:15:52 UTC 2020


    Date: Monday, April 20, 2020 @ 10:15:52
  Author: dvzrv
Revision: 617009

upgpkg: geonkick 2.0.1-1: Upgrading to 2.0.1.

Moving example presets to /usr/share/geonkick/presets (as documentation directory is not correct).

Modified:
  geonkick/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-20 09:38:33 UTC (rev 617008)
+++ PKGBUILD	2020-04-20 10:15:52 UTC (rev 617009)
@@ -1,7 +1,7 @@
 # Maintainer: David Runge <dvzrv at archlinux.org>
 
 pkgname=geonkick
-pkgver=2.0.0
+pkgver=2.0.1
 pkgrel=1
 pkgdesc="A free software percussion synthesizer"
 arch=('x86_64')
@@ -13,10 +13,13 @@
 checkdepends=('lv2lint')
 optdepends=('jack: for standalone application')
 source=("https://gitlab.com/iurie/geonkick/-/archive/v${pkgver}/$pkgname-v$pkgver.tar.gz")
-sha512sums=('acb0f17a7114fd1c791ffb9e2026c3385d065d3d992513cbd7f0d2f49b2ff1cf7db0916c14b7582b1d410d5e536032d49c0c6e65583892178d5b0b155fcf74e6')
+sha512sums=('c40a99881ab55d422a3f628262b3430a0cae667bbfc71aa05eb8fb09db6571a88cfd417390ccd208bb677364be3e2fa3d6cfc3ce5ffbd080229db68eed655a78')
 
 prepare() {
   mv -v "$pkgname-v$pkgver" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver/doc/examples"
+  # extract AVL drumkit
+  tar xvJf AVL-Drumkit.tar.xz
 }
 
 build() {
@@ -32,8 +35,7 @@
   cd "$pkgname-$pkgver"
   cp -av build/plugin/lv2/*.so plugin/lv2/${pkgname}.lv2/
   lv2lint -I "${PWD}/plugin/lv2/${pkgname}.lv2/" \
-          "http://geontime.com/geonkick" \
-          || echo "Known to fail: https://gitlab.com/geontime/geonkick/issues/144"
+          "http://geontime.com/geonkick"
   rm -v plugin/lv2/${pkgname}.lv2/*.so
 }
 
@@ -43,12 +45,12 @@
   make -C build DESTDIR="$pkgdir/" install VERBOSE=1
   install -vDm 644 "data/${pkgname}.desktop" \
     -t "${pkgdir}/usr/share/applications"
-  install -vDm 644 presets/*.gkick \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/presets"
-  for directory in presets/*; do
+  install -vDm 644 doc/examples/*.{gkick,gkit} \
+    -t "${pkgdir}/usr/share/${pkgname}/presets"
+  for directory in doc/examples/*; do
     if [ -d "$directory" ]; then
       install -vDm 644 "$directory/"*.{gkick,gkit} \
-        -t "${pkgdir}/usr/share/doc/${pkgname}/presets/$(basename "$directory")"
+        -t "${pkgdir}/usr/share/${pkgname}/presets/$(basename "$directory")"
     fi
   done
   install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"



More information about the arch-commits mailing list