summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD31
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..de9975f43522
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = pd-aubio-git
+ pkgdesc = Various externals for PureData using the aubio library
+ pkgver = r67.30796dc
+ pkgrel = 1
+ url = https://github.com/aubio/pd-aubio/
+ arch = any
+ license = GPL
+ makedepends = git
+ makedepends = bzip2
+ makedepends = python
+ depends = aubio
+ source = git+https://github.com/aubio/pd-aubio.git
+ sha256sums = SKIP
+
+pkgname = pd-aubio-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..9e36df26686d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Heiko Nickerl <dev at heiko-nickerl dot com>
+pkgname="pd-aubio-git"
+pkgver=r67.30796dc
+pkgrel=1
+pkgdesc="Various externals for PureData using the aubio library"
+arch=('any')
+url="https://github.com/aubio/pd-aubio/"
+license=('GPL')
+makedepends=('git' 'bzip2' 'python' )
+depends=( 'aubio' )
+source=("$pkgname-$pkgver.tar.gz::https://github.com/aubio/pd-aubio/archive/$pkgver.tar.gz")
+source=("git+https://github.com/aubio/pd-aubio.git")
+sha256sums=('SKIP')
+
+_gitroot=https://github.com/aubio/$pkgname.git
+_gitname=pd-aubio
+
+pkgver() {
+ cd "$srcdir/$_gitname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${srcdir}/$_gitname"
+ make WAFOPTS='--prefix=/usr' configure
+}
+
+package() {
+ cd "${srcdir}/$_gitname"
+ make WAFOPTS="--destdir=\"$pkgdir\"" install
+}