summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 647c31bf10c0704ac15c8e91a7b1ef7601a89e6a (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
38
39
40
41
# Maintainer: Leo Verto <leotheverto+aur@gmail.com>

pkgname=qlcplus-git
_pkgname=qlcplus
pkgver=4.12.1.r126.g50b228e64
pkgrel=1
pkgdesc="Q Light Controller Plus - The open DMX lighting desk software for controlling professional lighting fixtures."
arch=('i686' 'x86_64')
url="http://qlcplus.org/"
license=('APACHE')
depends=('qt5-script' 'qt5-multimedia' 'libftdi-compat' 'libsndfile' 'libmad' 'shared-mime-info' 'fftw' 'libftdi' 'desktop-file-utils')
makedepends=('git' 'qt5-tools')
optdepends=('ola: Open Lighting Architecture plugin')
provides=("${_pkgname}")
conflicts=("${_pkgname}")
install=${pkgname}.install
source=('git+https://github.com/mcallegari/qlcplus.git')
sha1sums=('SKIP')
pkgver() {
	cd "$srcdir/${_pkgname}"
	
	# Remove 'QLC+_' prefix from git tag
	git describe --long --tags | sed 's/^QLC+_//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

prepare() {
	cd "$srcdir/${_pkgname}"
	
}

build() {
	cd "$srcdir/${_pkgname}"
	
	qmake-qt5 FORCECONFIG=release
	make
}

package() {
	cd "$srcdir/${_pkgname}"
	make INSTALL_ROOT="$pkgdir/" install
}