pkgname=qmidictl pkgver=0.4.3 pkgrel=1 pkgdesc="A MIDI remote controller application that sends MIDI data over the network, using UDP/IP multicast." arch=('x86_64') url="http://qmidictl.sourceforge.net/" license=('GPL') depends=('qt5-base' 'qt5-tools' 'hicolor-icon-theme') categories=('multimedia' 'network') install="$pkgname.install" source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz") sha1sums=('609b438417a4b85fdac7e0617ce1e69d035b46ca') 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 }