summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e3b9c597d24de88742b6d7c969cd231a86e81159 (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=pdextended-lv2plugin-git
pkgver=24.98b7fb6
pkgrel=1
pkgdesc="LV2 plugin host for Pd, Pd-Extended version"
arch=("i686" "x86_64")
license=('BSD')
url="https://bitbucket.org/agraef/pd-lv2plugin/"
depends=('pd-extended' 'pdextended-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=pd-extended prefix=/usr || return 1
}

package() {
     cd $srcdir/pd-lv2plugin
     make DESTDIR=$pkgdir PD=pd-extended prefix=/usr install || return 1
}