updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / qmidiroute / PKGBUILD
blobbc1a38600ce3cd9a087fc8d8613d371ed9aa3201
1 # Maintainer: Arch Linux Pro Audio <dev@archaudio.org>
2 # Contributor: svoufff <svoufff at gmail dot com>
3 # Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
4 pkgname=qmidiroute
5 pkgver=0.3.0
6 pkgrel=1
7 pkgdesc="A filter/router for MIDI events"
8 arch=('i686' 'x86_64')
9 url="http://alsamodular.sourceforge.net/"
10 license=('GPL')
11 depends=('alsa-lib' 'qt')
12 source=(http://downloads.sourceforge.net/alsamodular/$pkgname-$pkgver.tar.bz2 $pkgname.desktop)
13 md5sums=('8f2dfc9f0abc5d243e365b919926dc55'
14          '40a978928bb4795ac28b9387074875bb')
15 build() {
17   cd $srcdir/$pkgname-$pkgver
18   ./configure --prefix=/usr || return 1
19   make || return 1
20   make DESTDIR="${pkgdir}" install || return 1
22   # Install .desktop and icon
23   install -D -m644 src/pixmaps/qmidiroute_48.xpm $pkgdir/usr/share/pixmaps/qmidiroute_48.xpm
24   install -D -m644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
26   # Install doc
27   mkdir -p ${pkgdir}/usr/share/doc/$pkgname
28   install -m644 {ChangeLog,NEWS,README,TODO} ${pkgdir}/usr/share/doc/$pkgname