summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 34df4b3a668550fe8927c4cf2790ca36efdf73bc (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
# Maintainer: Milk Brewster (milk on freenode irc)
pkgname=bsequencer-git
pkgver=r65.49dc212
pkgrel=1
epoch=
pkgdesc="Multi channel MIDI step sequencer LV2 plugin."
arch=('x86_64')
url="https://github.com/sjaehn/BSEQuencer"
license=('GPL')
groups=()
depends=('xorg-server' 'cairo' 'lv2')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("git+https://github.com/sjaehn/BSEQuencer")
noextract=()
md5sums=('SKIP')
validpgpkeys=()

# prepare() {
# }

pkgver() {
  cd "$srcdir"/BSEQuencer
  ( 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"/BSEQuencer
  make
}
 
# check() {
	# cd "$pkgname-$pkgver"
	# make -k check
# }

package() {
  cd "$srcdir"/BSEQuencer
  make install PREFIX="${pkgdir}/usr/lib/lv2" install 
}