[arch-commits] Commit in geonkick/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Sun Jan 16 09:42:53 UTC 2022
Date: Sunday, January 16, 2022 @ 09:42:52
Author: dvzrv
Revision: 1105962
upgpkg: geonkick 2.8.1-1: Upgrade to 2.8.1.
Simplify quoting in file.
Fix upstream url (project again on github).
Simplify calls to cmake/make.
Report issues with lv2lint upstream.
Modified:
geonkick/trunk/PKGBUILD
----------+
PKGBUILD | 48 ++++++++++++++++++++++--------------------------
1 file changed, 22 insertions(+), 26 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-16 09:31:11 UTC (rev 1105961)
+++ PKGBUILD 2022-01-16 09:42:52 UTC (rev 1105962)
@@ -1,47 +1,43 @@
# Maintainer: David Runge <dvzrv at archlinux.org>
pkgname=geonkick
-pkgver=2.8.0
-pkgrel=2
+pkgver=2.8.1
+pkgrel=1
pkgdesc="A free software percussion synthesizer"
-arch=('x86_64')
-url="https://gitlab.com/free-sm/geonkick"
-license=('GPL3')
-groups=('pro-audio')
-depends=('cairo' 'gcc-libs' 'glibc' 'hicolor-icon-theme' 'libx11')
-makedepends=('cmake' 'jack' 'libsndfile' 'lv2' 'rapidjson')
-checkdepends=('lv2lint')
+arch=(x86_64)
+url="https://github.com/free-sm/geonkick"
+license=(GPL3)
+groups=(pro-audio)
+depends=(cairo gcc-libs glibc hicolor-icon-theme libx11)
+makedepends=(cmake jack libsndfile lv2 rapidjson)
+checkdepends=(lv2lint)
optdepends=(
'lv2-host: for LV2 plugin'
'jack: for standalone application'
)
source=("$pkgname-v$pkgver.tar.gz::https://github.com/free-sm/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
-sha512sums=('fff7e4390178dd667f048c731950e8e10731675aead9eedc1633ee47798cb867e81eb7d5191ee9d3ab75041bd20ae0aa6eedf0a314098c79c388349b1f23f28a')
-b2sums=('6c2ae6665cb8e6fdcc3bb608fa05180c44b41cd986ac3fefdde9762eb4a12d45b41755a8eaf211759936e12ef9ee2fc34a47e6c398cf91cc9e83abac0b6a98c5')
+sha512sums=('35c22d20067d2f636978a1ca4393f246ac3bbfe236e162f2123fd9b9f10bf3c23449af9b68091bba3224a2c5cd3c839b90c76fabeb215b09b0b05f6130b68906')
+b2sums=('fb84a8e242f1c86cc468358dd3d75fedd1e502f6f131488f9f839cf57dba4e5f5c32ae3bb02bb97788fec8afebb130b43b2fb61244e71ee1d6575187676dd538')
build() {
- cd "$pkgname-$pkgver"
- cmake -DCMAKE_INSTALL_PREFIX='/usr' \
- -DCMAKE_BUILD_TYPE='None' \
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=None \
-Wno-dev \
-B build \
- -S .
+ -S "$pkgname-$pkgver"
make VERBOSE=1 -C build
}
check() {
- cd "$pkgname-$pkgver"
- cp -av build/plugin/lv2/*.so plugin/lv2/${pkgname}.lv2/
- lv2lint -Mpack -I "${PWD}/plugin/lv2/${pkgname}.lv2/" \
- "http://geontime.com/geonkick"
- rm -v plugin/lv2/${pkgname}.lv2/*.so
+ cp -av build/plugin/lv2/*.so "$pkgname-$pkgver/plugin/lv2/${pkgname}.lv2/"
+ lv2lint -Mpack -I "$pkgname-$pkgver/plugin/lv2/${pkgname}.lv2/" "http://geontime.com/geonkick" || echo "Known to fail: https://github.com/free-sm/geonkick/issues/164"
+ rm -v "$pkgname-$pkgver/plugin/lv2/${pkgname}.lv2/"*.so
}
package() {
- depends+=('libsndfile.so')
- cd "$pkgname-$pkgver"
- make -C build DESTDIR="$pkgdir/" install VERBOSE=1
- install -vDm 644 "data/${pkgname}.desktop" \
- -t "${pkgdir}/usr/share/applications"
- install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+ depends+=(libsndfile.so)
+
+ make VERBOSE=1 DESTDIR="$pkgdir/" install -C build
+ install -vDm 644 "$pkgname-$pkgver/data/${pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
+ install -vDm 644 "$pkgname-$pkgver/README.md" -t "${pkgdir}/usr/share/doc/${pkgname}"
}
More information about the arch-commits
mailing list