summaryrefslogtreecommitdiff
path: root/community/drumkv1
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-04-06 03:44:19 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-04-06 03:44:19 +0000
commit38eab99b0f820f0d7720c7bc4c1dab4a7d5eaeab (patch)
tree45f0da5464a9e95bb5fbbf579094741cf6c66317 /community/drumkv1
parent12c37e7b5594be3af3c03e543648b2a1c430bdcc (diff)
Sun Apr 6 03:39:50 UTC 2014
Diffstat (limited to 'community/drumkv1')
-rw-r--r--community/drumkv1/PKGBUILD41
-rw-r--r--community/drumkv1/drumkv1.install13
2 files changed, 54 insertions, 0 deletions
diff --git a/community/drumkv1/PKGBUILD b/community/drumkv1/PKGBUILD
new file mode 100644
index 000000000..8decc5f2d
--- /dev/null
+++ b/community/drumkv1/PKGBUILD
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: speps <speps at aur dot archlinux dot org>
+
+pkgname=drumkv1
+pkgver=0.4.0
+pkgrel=1
+pkgdesc="An old-school drum-kit sampler"
+arch=(i686 x86_64)
+url="http://$pkgname.sourceforge.net/$pkgname-index.html"
+license=('GPL')
+groups=('lv2-plugins')
+depends=('jack' 'liblo' 'lv2' 'qt5-base'
+ 'desktop-file-utils' 'hicolor-icon-theme' 'shared-mime-info')
+install="$pkgname.install"
+source=("http://download.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('d2be11a7c06d62ad789bc4bf7884e1eb')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # x86_64 lib path fix
+ sed -i "s/lib64/lib/" src/src_lv2{,ui}.pro
+
+ # i686 -reduce-relocations
+ if [[ $CARCH = i686 ]]; then
+ export CXXFLAGS+=" -fPIE"
+ fi
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/drumkv1/drumkv1.install b/community/drumkv1/drumkv1.install
new file mode 100644
index 000000000..ec1a84bbb
--- /dev/null
+++ b/community/drumkv1/drumkv1.install
@@ -0,0 +1,13 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+ update-mime-database usr/share/mime
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}