summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 865b35a7063f2cb40d738b09cf358b8696d349e6 (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: Nil Geisweiller <ngeiswei at the giant g>

pkgname=ctrlr-romankubiak-panels-git
pkgver=r11.1aaeb12
pkgrel=2
epoch=
pkgdesc="Ctrlr panels from Roman Kubiak.  Including demo panels, as well as panels for Oberheim Matrix-1000, Yamaha TX81Z, Roland JX8P, Roland Juno106 and more.  Panels are installed under /usr/share/ctrlr/panels/{DEMO,RomanKubiak}."
arch=('any')
url="https://github.com/RomanKubiak/Panels"
license=()
groups=('pro-audio')
depends=('ctrlr')
makedepends=()
checkdepends=()
optdepends=()
provides=('ctrlr-romankubiak-panels')
conflicts=('ctrlr-romankubiak-panels')
replaces=()
backup=()
options=()
install=
changelog=
source=("${pkgname%-*}::git+https://github.com/RomanKubiak/Panels.git")
noextract=()
sha256sums=('SKIP')
validpgpkeys=()

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

package() {
	PREFIX="${pkgdir}/usr"
	SHAREPATH="${PREFIX}/share"
	PANELSPATH="${SHAREPATH}/ctrlr/panels"

	# Create local folders and copy panels
	mkdir -p "${PANELSPATH}"
	cp -r "${srcdir}/${pkgname%-*}"/* "${PANELSPATH}"
}