[arch-commits] Commit in geonkick/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Oct 14 20:59:09 UTC 2019
Date: Monday, October 14, 2019 @ 20:59:08
Author: dvzrv
Revision: 515924
upgpkg: geonkick 1.9.0-1
Upgrading to 1.9.0. More robustly installing example files (and files in subfolders).
Modified:
geonkick/trunk/PKGBUILD
----------+
PKGBUILD | 26 ++++++++++++++------------
1 file changed, 14 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-14 20:26:09 UTC (rev 515923)
+++ PKGBUILD 2019-10-14 20:59:08 UTC (rev 515924)
@@ -1,6 +1,6 @@
# Maintainer: David Runge <dave at sleepmap.de>
pkgname=geonkick
-pkgver=1.8.1
+pkgver=1.9.0
pkgrel=1
pkgdesc="A free software percussion synthesizer"
arch=('x86_64')
@@ -7,19 +7,17 @@
url="https://gitlab.com/iurie/geonkick"
license=('GPL3')
groups=('pro-audio')
-depends=('cairo' 'desktop-file-utils' 'hicolor-icon-theme' 'shared-mime-info')
+depends=('cairo' 'desktop-file-utils' 'gcc-libs' 'glibc' 'hicolor-icon-theme'
+'libsndfile' 'libx11' 'shared-mime-info')
makedepends=('cmake' 'jack' 'lv2' 'sord' 'rapidjson' 'redkite')
optdepends=('jack: for standalone application')
source=("https://gitlab.com/iurie/geonkick/-/archive/v${pkgver}/$pkgname-v$pkgver.tar.gz")
-sha512sums=('a8d42e76b6e865969754d75ee7e4a87a45dc787ab84b16099abe310be75a791e6380330362160586fa3a7de2a51ae5ae0fedeac22a35d100c50a24d979a34b7a')
+sha512sums=('4ebaa9cbb8d22d618b6085d7d1d86223ae6deffef2e8c296baf27d55d613a51ae4a80d015efc7c97e651a78fa33cdb6d53c2b0782fe1637fc55b6674aad0e4b2')
prepare() {
mv -v "$pkgname-v$pkgver" "$pkgname-$pkgver"
cd "$pkgname-$pkgver"
mkdir -v build
- # fix hardcoded redkite headers location:
- # https://gitlab.com/quamplex/geonkick/issues/133
- sed -e 's|/usr/local/include|/usr/include|' -i CMakeLists.txt
}
build() {
@@ -27,8 +25,9 @@
(
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DGKICK_REDKITE_SDK_PATH=/usr \
..
- make
+ make VERBOSE=1
)
}
@@ -44,13 +43,16 @@
package() {
cd "$pkgname-$pkgver"
- (
- cd build
- make DESTDIR="$pkgdir/" install
- )
+ make -C build DESTDIR="$pkgdir/" install VERBOSE=1
install -vDm 644 "data/${pkgname}.desktop" \
-t "${pkgdir}/usr/share/applications"
- install -vDm 644 examples/* \
+ install -vDm 644 examples/*.gkick \
-t "${pkgdir}/usr/share/doc/${pkgname}/examples"
+ for directory in examples/*; do
+ if [ -d "$directory" ]; then
+ install -vDm 644 "$directory/"*.gkick \
+ -t "${pkgdir}/usr/share/doc/${pkgname}/examples/$(basename "$directory")"
+ fi
+ done
install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
}
More information about the arch-commits
mailing list