# $Id: PKGBUILD 115602 2014-07-12 16:33:35Z speps $ # Maintainer: speps pkgname=samplv1 pkgver=0.5.0 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=('3369bb598f445a240e5d9e48f7574635') prepare() { cd $pkgname-$pkgver # x86_64 lib path fix sed -i "s/lib64/lib/" src/src_lv2{,ui}.pro # i686 -reduce-relocations (Qt5) # 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: