summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 594c9c99f7a16f77c3aa3a2bb0be620edc034cec (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-touchosc-git
pkgver=44.443c793
pkgrel=1
pkgdesc="A TouchOSC MIDI bridge for Pd, Purr-Data version"
arch=("i686" "x86_64")
license=('BSD')
url="https://bitbucket.org/agraef/pd-touchosc/"
depends=('purr-data' 'purrdata-pure' 'pure-avahi' 'pure-stldict' 'pure-xml')
makedepends=()
source=("git+https://bitbucket.org/agraef/pd-touchosc")
md5sums=(SKIP)

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

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

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