From 459ad64423573ea54cf054463bbde20bb65cb492 Mon Sep 17 00:00:00 2001 From: Guest One Date: Sun, 16 Jun 2013 23:16:14 +0200 Subject: added new package samplv1 0.3.3-1 --- pcr/samplv1/PKGBUILD | 31 +++++++++++++++++++++++++++++++ pcr/samplv1/samplv1.install | 12 ++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 pcr/samplv1/PKGBUILD create mode 100644 pcr/samplv1/samplv1.install (limited to 'pcr/samplv1') diff --git a/pcr/samplv1/PKGBUILD b/pcr/samplv1/PKGBUILD new file mode 100644 index 000000000..e2258a88b --- /dev/null +++ b/pcr/samplv1/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Guest One + +pkgname=samplv1 +pkgver=0.3.3 +pkgrel=1 +pkgdesc="Polyphonic sampler synthesizer with stereo fx" +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=('2540ab3ef3da39bd4da8a1ab8ff9334d') + +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/samplv1/samplv1.install b/pcr/samplv1/samplv1.install new file mode 100644 index 000000000..029294d67 --- /dev/null +++ b/pcr/samplv1/samplv1.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