summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0e0c4c40a8c2d7309a8312f5e0a9b78ffc5aa20b (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
# Maintainer: Milkii Brewster <milkii on Freenode IRC>
pkgname=gula-plugins-git
pkgdesc="A collection of guitar effect LV2 plugins originally for MOD Devices."
pkgver=r45.fbc3c1a
pkgrel=1
epoch=
arch=(x86_64)
url="https://github.com/steveb/gula-plugins"
license=(GPL)
groups=(lv2-plugins)
depends=('lv2' 'boost')
makedepends=('faust')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("git+https://github.com/steveb/gula-plugins")
noextract=()
md5sums=('SKIP')

pkgver() {
  cd gula-plugins
  ( 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)"
  )
}

prepare() {
  cd gula-plugins
}

build() {
  cd gula-plugins
	# ./configure --prefix=/usr
	make
}

package() {
  cd gula-plugins
  mkdir -p "$pkgdir"/usr/lib/lv2
  cp -r lv2/* "$pkgdir/usr/lib/lv2"
}