[arch-commits] Commit in geonkick/repos (community-x86_64 community-x86_64/PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Jan 13 13:20:24 UTC 2019
Date: Sunday, January 13, 2019 @ 13:20:23
Author: dvzrv
Revision: 422913
archrelease: copy trunk to community-x86_64
Added:
geonkick/repos/community-x86_64/
geonkick/repos/community-x86_64/PKGBUILD
(from rev 422912, geonkick/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: geonkick/repos/community-x86_64/PKGBUILD (from rev 422912, geonkick/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2019-01-13 13:20:23 UTC (rev 422913)
@@ -0,0 +1,38 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=geonkick
+pkgver=1.0
+pkgrel=1
+pkgdesc="A free software percussion synthesizer"
+arch=('x86_64')
+url="https://gitlab.com/iurie/geonkick"
+license=('GPL3')
+groups=('pro-audio')
+depends=('desktop-file-utils' 'hicolor-icon-theme' 'jack' 'qt5-base')
+makedepends=('cmake' 'qt5-tools')
+source=("https://gitlab.com/iurie/geonkick/-/archive/v${pkgver}/$pkgname-v$pkgver.tar.gz")
+sha512sums=('cffb5569efeb6d2680ea091c410ebe90bdfaf8369d188e40f963dd01b2873b898ac647b265713dcab0c1ffde0134034d743efcfa1ea1975fac659755b3909b67')
+
+prepare() {
+ mv -v "$pkgname-v$pkgver" "$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
+ mkdir -v build
+ # fix ignored CMAKE_INSTALL_PREFIX:
+ # https://gitlab.com/iurie/geonkick/issues/83
+ sed -e 's|/usr/local|${CMAKE_INSTALL_PREFIX}|' \
+ -i standalone/CMakeLists.txt
+}
+
+build() {
+ cd "$pkgname-$pkgver/build"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ ..
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver/build"
+ make DESTDIR="$pkgdir/" install
+ install -vDm 644 ../examples/* \
+ -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
+ install -vDm 644 ../README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list