summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ff8656776d34d802f3fab31cb23a0a90bfb92a93 (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
# Maintainer: Albert Graef <aggraef at gmail dot com>

pkgname=purrdata-lv2plugin-git
pkgver=25.e00f302
pkgrel=1
pkgdesc="LV2 plugin host for Pd, Purr-Data version"
arch=("i686" "x86_64")
license=('BSD')
url="https://bitbucket.org/agraef/pd-lv2plugin/"
depends=('purr-data' 'purrdata-pure' 'pure-lilv')
makedepends=()
source=("git+https://bitbucket.org/agraef/pd-lv2plugin")
md5sums=(SKIP)

pkgver() {
  cd $srcdir/pd-lv2plugin
  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

build() {
     cd $srcdir/pd-lv2plugin
     make PD=purr-data || return 1
}

package() {
     cd $srcdir/pd-lv2plugin
     make PD=pd-l2ork prefix=/opt/purr-data DESTDIR=$pkgdir install || return 1
}