diff options
author | Heiko Nickerl | 2018-08-03 00:19:13 +0200 |
---|---|---|
committer | Heiko Nickerl | 2018-08-03 00:19:13 +0200 |
commit | 91f486e897005724622a78a8d8a0b33670977393 (patch) | |
tree | 1082e91cfe83fe7707b10150b8fae4d0290d8899 | |
download | aur-pd-aubio-git.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 31 |
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 +} |