From 2ebc9c9d8488d75103a12d1c8e85af78d9994537 Mon Sep 17 00:00:00 2001 From: Guest One Date: Sat, 8 Jun 2013 14:58:10 +0200 Subject: added new package drumkv1 0.3.3-1 --- pcr/drumkv1/PKGBUILD | 31 +++++++++++++++++++++++++++++++ pcr/drumkv1/drumkv1.install | 12 ++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 pcr/drumkv1/PKGBUILD create mode 100644 pcr/drumkv1/drumkv1.install (limited to 'pcr') diff --git a/pcr/drumkv1/PKGBUILD b/pcr/drumkv1/PKGBUILD new file mode 100644 index 000000000..4a55012f6 --- /dev/null +++ b/pcr/drumkv1/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Guest One + +pkgname=drumkv1 +pkgver=0.3.3 +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' 'qt4') +install="$pkgname.install" +source=("http://download.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('d7c7270fdd01552b74eead36dd638ea4') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # x86_64 lib path fix + sed -i "s/lib64/lib/" src/src_lv2.pro + + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: diff --git a/pcr/drumkv1/drumkv1.install b/pcr/drumkv1/drumkv1.install new file mode 100644 index 000000000..029294d67 --- /dev/null +++ b/pcr/drumkv1/drumkv1.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor 2> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3