desktop/qmidictl/PKGBUILD

32 lines
759 B
Bash
Raw Normal View History

2011-08-07 19:47:16 +08:00
pkgname=qmidictl
2017-04-28 07:48:05 +08:00
pkgver=0.4.3
2011-08-07 19:47:16 +08:00
pkgrel=1
pkgdesc="A MIDI remote controller application that sends MIDI data over the network, using UDP/IP multicast."
2015-03-27 03:03:12 +08:00
arch=('x86_64')
2011-08-07 19:47:16 +08:00
url="http://qmidictl.sourceforge.net/"
license=('GPL')
depends=('qt5-base' 'qt5-tools' 'hicolor-icon-theme')
categories=('multimedia' 'network')
2011-08-07 19:47:16 +08:00
install="$pkgname.install"
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
2017-04-28 07:48:05 +08:00
sha1sums=('609b438417a4b85fdac7e0617ce1e69d035b46ca')
2016-10-01 23:41:57 +08:00
prepare() {
cd $pkgname-$pkgver
2016-11-17 07:05:58 +08:00
# fix to make .configure recognize Qt>=5.1
export CXXFLAGS="${CXXFLAGS} -std=c++11"
2016-10-01 23:41:57 +08:00
}
2011-08-07 19:47:16 +08:00
build() {
2015-03-27 03:03:12 +08:00
cd $pkgname-$pkgver
2011-08-07 19:47:16 +08:00
./configure --prefix=/usr
make
}
package() {
2015-03-27 03:03:12 +08:00
cd $pkgname-$pkgver
2011-08-07 19:47:16 +08:00
2015-03-27 03:03:12 +08:00
make DESTDIR=$pkgdir install
2011-08-07 19:47:16 +08:00
}