summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 062b7d3deecaf841619b4b9658b5490666705687 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Maciej Suminski <orson@orson.net.pl>
# based on qjackctl-svn by robertfoster

pkgname=qjackctl-git
pkgver=r1095.3b16632
pkgrel=1
pkgdesc="A Qt front-end for the JACK low-latency audio server"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('jack' 'hicolor-icon-theme' 'qt5-x11extras')
url="https://qjackctl.sourceforge.io/"
makedepends=('git')
provides=('qjackctl')
conflicts=('qjackctl' 'qjackctl-svn')
# sf.net is the original repository, but has connection problems
#source=("${pkgname}"'::git+http://git.code.sf.net/p/qjackctl/code')
source=("${pkgname}"'::git+https://github.com/rncbc/qjackctl.git')
md5sums=('SKIP')

pkgver() {
  cd "${srcdir}/${pkgname}"
  printf "r%s.%s" "$(git rev-list HEAD --count --first-parent)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "${srcdir}/${pkgname}"
  ./autogen.sh
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/${pkgname}"
  make DESTDIR="$pkgdir" install
}

# vim:set ts=8 sts=2 sw=2 et: