diff options
author | Christopher Arndt | 2015-07-11 19:19:24 +0200 |
---|---|---|
committer | Christopher Arndt | 2015-07-11 19:19:24 +0200 |
commit | 971f3b5012981bd3d945a4abc16cf21d4d7b1b92 (patch) | |
tree | e0b3585ce130271199a09cf082bd7356b317d63a | |
download | aur-971f3b5012981bd3d945a4abc16cf21d4d7b1b92.tar.gz |
Initial import of lv2-git package
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | .gitignore | 7 | ||||
-rw-r--r-- | PKGBUILD | 43 |
3 files changed, 76 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5eb8f2b8b467 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +pkgbase = lv2-git + pkgdesc = A standard for plugins and matching host applications, mainly targeted at audio processing and generation. + pkgver = 1.12.0.r984.f18cfa8 + pkgrel = 1 + url = http://lv2plug.in/ + arch = i686 + arch = x86_64 + license = custom:ISC + makedepends = git + makedepends = python2 + makedepends = libsndfile + makedepends = gtk2 + optdepends = libsndfile: example sampler plugin + optdepends = gtk2: example scope plugin + optdepends = python2: lv2specgen script + provides = lv2=1.12.0.r984.f18cfa8 + provides = lv2core + provides = lv2-svn + conflicts = lv2 + conflicts = lv2-svn + replaces = lv2core + source = lv2::git+http://lv2plug.in/git/cgit.cgi/lv2.git + md5sums = SKIP + +pkgname = lv2-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..c1f7b97db805 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +lv2 +src +pkg +lv2-git-*.tar.xz +lv2-git-*.src.tar.gz +.AURINFO + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..52695f8cc1db --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de> +# Contributor: speps <speps at aur dot archlinux dot org> + +_pkgname=lv2 +pkgname="${_pkgname}-git" +pkgver=1.12.0.r984.f18cfa8 +pkgrel=1 +pkgdesc="A standard for plugins and matching host applications, mainly targeted at audio processing and generation." +arch=('i686' 'x86_64') +url="http://lv2plug.in/" +license=('custom:ISC') +makedepends=('git' 'python2' 'libsndfile' 'gtk2') +optdepends=('libsndfile: example sampler plugin' + 'gtk2: example scope plugin' + 'python2: lv2specgen script') +provides=("${_pkgname}=${pkgver}" 'lv2core' "${_pkgname}-svn") +conflicts=("${_pkgname}" "${_pkgname}-svn") +replaces=('lv2core') +source=("${_pkgname}::git+http://lv2plug.in/git/cgit.cgi/lv2.git") +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/${_pkgname}" + + echo $(awk -F "'" '/^VERSION/{print $2}' wscript).r$(git rev-list --count HEAD).$(git rev-parse --short HEAD) +} + +build() { + cd "${srcdir}/${_pkgname}" + + python2 waf configure --prefix=/usr + python2 waf build $MAKEFLAGS +} + +package() { + cd "${srcdir}/${_pkgname}" + + python2 waf install --destdir="$pkgdir" + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + # python2 shebangs + sed -i 's/python/&2/' "$pkgdir/usr/bin/lv2specgen.py" +} |