updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / qamix / PKGBUILD
blob79c2045dbae5565c5c2f590f2803ca88ad39cf5d
1 # Contributor: Patrick Leslie Polzer <leslie.polzer@gmx.net>
2 # Maintainer: Richard McCormack <richard@dinocampaign.info>
3 pkgname=qamix
4 pkgver=0.0.7e
5 pkgrel=5
6 arch=('i686' 'x86_64')
7 pkgdesc="A graphical ALSA mixer"
8 url="http://alsamodular.sourceforge.net/"
9 license=('GPL')
10 depends=('qt3' 'alsa-lib')
11 source=(http://downloads.sourceforge.net/alsamodular/$pkgname-$pkgver.tar.bz2)
12 md5sums=('e902774238b57859e0ff695771821b7b')
14 build() {
15   cd $srcdir/$pkgname-$pkgver
16   make QT_BASE_DIR=/opt/qt -f make_$pkgname || return 1
17   install -d $pkgdir/usr/{share/$pkgname,bin} || return 1
18   install -Dm755 $pkgname $pkgdir/usr/bin/$pkgname
19   install -Dm644 $pkgname.desktop \
20     $pkgdir/usr/share/applications/$pkgname.desktop
21   echo "Categories=Audio;" >> $pkgdir/usr/share/applications/$pkgname.desktop
22   cp *.xml $pkgdir/usr/share/$pkgname