[arch-commits] Commit in geonkick/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Jun 11 14:49:38 UTC 2020
Date: Thursday, June 11, 2020 @ 14:49:38
Author: dvzrv
Revision: 642037
upgpkg: geonkick 2.2.0-1: Upgrading to 2.2.0.
Removing now unrequired preset extraction (cmake does it).
Fixing tests crashing on missing directory and opening an upstream ticket about it.
Modified:
geonkick/trunk/PKGBUILD
----------+
PKGBUILD | 24 +++++++++---------------
1 file changed, 9 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-11 14:29:03 UTC (rev 642036)
+++ PKGBUILD 2020-06-11 14:49:38 UTC (rev 642037)
@@ -1,7 +1,7 @@
# Maintainer: David Runge <dvzrv at archlinux.org>
pkgname=geonkick
-pkgver=2.1.1
+pkgver=2.2.0
pkgrel=1
pkgdesc="A free software percussion synthesizer"
arch=('x86_64')
@@ -13,19 +13,18 @@
checkdepends=('lv2lint')
optdepends=('jack: for standalone application')
source=("https://gitlab.com/iurie/geonkick/-/archive/v${pkgver}/$pkgname-v$pkgver.tar.gz")
-sha512sums=('fa7bbe925f191fd39942746a0ef5fb8088bcf9290f18939ac4ce54a3e8f54d9f1269eea33873b429c1d5f1ecc3d67e87589269386bc91890e134d1c16f114c62')
+sha512sums=('0e6e479785db0ced40f6abc05190856ab3f90575c56606e73e70aa30e75596ad36d3cdc2f6e5f3a15ea0a72f4fd6f9a2b8d7343a31e46faac98bb67ab42d966e')
prepare() {
mv -v "$pkgname-v$pkgver" "$pkgname-$pkgver"
- cd "$pkgname-$pkgver/doc/examples"
- # extract AVL drumkit
- tar xvJf AVL-Drumkit.tar.xz
}
build() {
cd "$pkgname-$pkgver"
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
- -DGKICK_REDKITE_SDK_PATH=/usr \
+ cmake -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DGKICK_REDKITE_SDK_PATH='/usr' \
+ -DCMAKE_BUILD_TYPE='None' \
+ -Wno-dev \
-B build \
-S .
make VERBOSE=1 -C build
@@ -33,6 +32,9 @@
check() {
cd "$pkgname-$pkgver"
+ # creating non-XDG_DATA_DIRS conforming directory, required for testing
+ # https://gitlab.com/iurie-sw/geonkick/-/issues/155
+ mkdir -vp "$HOME/.local/geonkick"
cp -av build/plugin/lv2/*.so plugin/lv2/${pkgname}.lv2/
lv2lint -Mpack -I "${PWD}/plugin/lv2/${pkgname}.lv2/" \
"http://geontime.com/geonkick"
@@ -45,13 +47,5 @@
make -C build DESTDIR="$pkgdir/" install VERBOSE=1
install -vDm 644 "data/${pkgname}.desktop" \
-t "${pkgdir}/usr/share/applications"
- 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/${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