summaryrefslogtreecommitdiff
path: root/pcr/samplv1
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/samplv1')
-rw-r--r--pcr/samplv1/PKGBUILD30
-rw-r--r--pcr/samplv1/samplv1.install13
2 files changed, 43 insertions, 0 deletions
diff --git a/pcr/samplv1/PKGBUILD b/pcr/samplv1/PKGBUILD
new file mode 100644
index 000000000..33be54edf
--- /dev/null
+++ b/pcr/samplv1/PKGBUILD
@@ -0,0 +1,30 @@
+
+pkgname=samplv1
+pkgver=0.3.4
+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' 'shared-mime-info')
+install="$pkgname.install"
+source=("http://download.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('32e920ff8457bb94f301a657d55f90a8')
+
+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..ec1a84bbb
--- /dev/null
+++ b/pcr/samplv1/samplv1.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
+}