pkgname=qsynth pkgver=0.4.3 pkgrel=1 pkgdesc="Qt GUI for fluidsynth" arch=('x86_64') url="http://qsynth.sourceforge.net/qsynth-index.html" license=('GPL') depends=('fluidsynth' 'qt5-base' 'qt5-x11extras') makedepends=('qt5-tools') categories=('multimedia') source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) sha1sums=('8c49e1b85fb60bd06df2f4537b45ad87bfae2bfb') prepare() { cd $pkgname-$pkgver # fix to make .configure recognize Qt>=5.1 export CXXFLAGS="${CXXFLAGS} -std=c++11" } build() { cd $pkgname-$pkgver ./configure --prefix=/usr make } package() { cd $pkgname-$pkgver make DESTDIR=$pkgdir install }