pkgname=qsynth pkgver=0.5.0 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=('d24417f89851d53302658116cccb1bad79d6068e') 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 }