PKGBUILD 684 Bytes
Newer Older
1
pkgname=qjackctl
2
pkgver=0.4.3
abveritas's avatar
abveritas committed
3
pkgrel=1
4
pkgdesc="A Qt front-end for the JACK low-latency audio server"
5
url="http://qjackctl.sourceforge.net/"
6
arch=('x86_64')
7
license=('GPL')
Jeff Huang's avatar
Jeff Huang committed
8
depends=('jack' 'qt5-base' 'qt5-x11extras')
9
makedepends=('qt5-tools')
10
options=('!makeflags')
11
categories=('multimedia')
12
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
13 14 15 16 17 18 19
sha1sums=('c093c2c93be9577aa4ef00e6f66cee6fa5d80190')

prepare() {
  cd $pkgname-$pkgver
# fix to make .configure recognize Qt>=5.1
export CXXFLAGS="${CXXFLAGS} -std=c++11" 
}
20 21

build() {
22
  cd $pkgname-$pkgver
23

Jeff Huang's avatar
Jeff Huang committed
24
 ./configure --prefix=/usr
25
  make
26 27 28
}

package() {
29
  cd $pkgname-$pkgver
30

31
  make DESTDIR=$pkgdir install
32
}