updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / qjacklam / PKGBUILD
blobde847e6f647e4ad133ddc27c938706fc5a24710d
1 # Contributor: Shinlun Hsieh <yngwiexx@yahoo.com.tw>
2 pkgname=qjacklam
3 pkgver=0.3
4 pkgrel=1
5 pkgdesc="A latency meter for JACK"
6 arch=(i686)
7 url="http://developer.berlios.de/projects/qjacklam/"
8 license=('GPL')
9 depends=('qt' 'jack-audio-connection-kit')
10 source=(http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.gz)
11 md5sums=('975d453ffd52182ad9ce398b58387e2b')
13 build() {
14   export QTDIR=/opt/qt
15   export QMAKESPEC=$QTDIR/mkspecs/linux-g++
16   export PATH=$QTDIR/bin:$PATH
17   export PKG_CONFIG_PATH=/opt/qt/lib/pkgconfig:$PKG_CONFIG_PATH
18         
19   cd ${startdir}/src/${pkgname}
20   sed -i -e 's|^TARGET=\.\./bin/qjacklam|TARGET=qjacklam|' src.pro
21   qmake -o Makefile src.pro || return 1
22   make || return 1
23   install -D -m755 ${pkgname} ${startdir}/pkg/usr/bin/${pkgname}