diff options
author | Christopher Arndt | 2020-05-05 18:48:38 +0200 |
---|---|---|
committer | Christopher Arndt | 2020-05-05 18:48:38 +0200 |
commit | 7a7db4bed8ae1e8ead03738bf135769c72cf0db4 (patch) | |
tree | a0088d315f7815bfb5a57994de53c6ab63f9e681 | |
parent | 47b95ad470b4ad2bdcf072d468261c1dbb2735a7 (diff) | |
download | aur-7a7db4bed8ae1e8ead03738bf135769c72cf0db4.tar.gz |
Adapt to upstream changes
* Update project and git repo URL
* Remove obsolete CMakeList.txt patching
* Fix preset installation
* Add 'lv2-plugins' group
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 31 |
3 files changed, 26 insertions, 13 deletions
@@ -1,11 +1,12 @@ pkgbase = geonkick-git pkgdesc = A free software percussion synthesizer (git version) - pkgver = 1.9.0.r586.455574b + pkgver = 2.1.0.r815.f9b8340 pkgrel = 1 - url = https://gitlab.com/geontime/geonkick + url = https://gitlab.com/iurie-sw/geonkick arch = i386 arch = x86_64 groups = pro-audio + groups = lv2-plugins license = GPL3 makedepends = cmake makedepends = jack @@ -21,7 +22,7 @@ pkgbase = geonkick-git optdepends = jack: for stand-alone application provides = geonkick conflicts = geonkick - source = geonkick::git+https://gitlab.com/geontime/geonkick.git + source = geonkick::git+https://gitlab.com/iurie-sw/geonkick.git sha512sums = SKIP pkgname = geonkick-git diff --git a/.gitignore b/.gitignore index 2f6dfb32eb33..c0fd465ab331 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ geonkick/ pkg/ src/ geonkick-git-*.tar.xz +geonkick-git-*.tar.zst .AURINFO @@ -2,19 +2,19 @@ _pkgname=geonkick pkgname="${_pkgname}-git" -pkgver=1.9.0.r586.455574b +pkgver=2.1.0.r815.f9b8340 pkgrel=1 pkgdesc="A free software percussion synthesizer (git version)" arch=('i386' 'x86_64') -url="https://gitlab.com/geontime/geonkick" +url="https://gitlab.com/iurie-sw/geonkick" license=('GPL3') -groups=('pro-audio') +groups=('pro-audio' 'lv2-plugins') depends=('cairo' 'desktop-file-utils' 'hicolor-icon-theme' 'libsndfile' 'shared-mime-info') makedepends=('cmake' 'jack' 'lv2' 'rapidjson' 'redkite' 'sord') optdepends=('jack: for stand-alone application') provides=("${_pkgname}") conflicts=("${_pkgname}") -source=("${_pkgname}::git+https://gitlab.com/geontime/geonkick.git") +source=("${_pkgname}::git+https://gitlab.com/iurie-sw/geonkick.git") sha512sums=('SKIP') @@ -25,9 +25,11 @@ pkgver() { } prepare() { - cd "${srcdir}/${_pkgname}" - # don't call post-install commands - sed -i -e '/^install.CODE/d' data/CMakeLists.txt + cd "${srcdir}/${_pkgname}/doc/examples" + # extract drumkits + for tarxz in *.tar.xz; do + tar -xvJf "$tarxz" + done } build() { @@ -48,9 +50,18 @@ package() { cd build make DESTDIR="$pkgdir/" install ) + # desktop file install -vDm 644 "data/${_pkgname}.desktop" \ -t "${pkgdir}/usr/share/applications" - install -dm 755 "${pkgdir}/usr/share/doc/${pkgname}/examples" - cp -r --preserve=mode examples/* "${pkgdir}/usr/share/doc/${pkgname}/examples" - install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}" + # example preset & kits + 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 + # documentation + install -vDm 644 README.md NEWS.md -t "${pkgdir}/usr/share/doc/${pkgname}" } |