summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a13a8582b21684ff2c712bb57aaa0da815afa1b2 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
# Maintainer: Milk Brewster (milk on freenode irc)
pkgname=bg-plugins.lv2-git
pkgver=r36.1eb55ff
pkgrel=1
epoch=
pkgdesc="An arpeggiator and a MIDI-pattern plugin developed for the MOD platform by Bram Geisen"
arch=('x86_64')
url="https://github.com/BramGiesen/arpeggiator_LV2"
license=('GPL')
groups=()
depends=('xorg-server' 'lv2')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("git+https://github.com/BramGiesen/arpeggiator_LV2")
noextract=()
md5sums=('SKIP')
validpgpkeys=()

# prepare() {
# }

pkgver() {
  cd "$srcdir"/arpeggiator_LV2
  ( set -o pipefail
    git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  )
 }


build() {
  cd "$srcdir"/arpeggiator_LV2
  make
}
 
# check() {
	# cd "$pkgname-$pkgver"
	# make -k check
# }

package() {
  mkdir -p "${pkgdir}"/usr/lib/lv2/bg-arpeggiator.lv2
  mkdir -p "${pkgdir}"/usr/lib/lv2/bg-midi-pattern.lv2
  cd "$srcdir"/arpeggiator_LV2
  make DESTDIR="${pkgdir}" install 
}