summaryrefslogtreecommitdiff
path: root/community/synthv1/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/synthv1/PKGBUILD')
-rw-r--r--community/synthv1/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/synthv1/PKGBUILD b/community/synthv1/PKGBUILD
new file mode 100644
index 000000000..b79f71ec6
--- /dev/null
+++ b/community/synthv1/PKGBUILD
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: speps <speps at aur dot archlinux dot org>
+
+pkgname=synthv1
+pkgver=0.4.0
+pkgrel=1
+pkgdesc="An old-school all-digital 4-oscillator subtractive polyphonic 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' '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=('f32510e1f5065f574970b13035d9ff57')
+
+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: