summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO24
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD44
3 files changed, 74 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..eab6d3e367d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+# Generated by mksrcinfo v8
+# Wed Feb 3 17:08:44 UTC 2016
+pkgbase = lilv-git
+ pkgdesc = A C library interface to the LV2 plug-in standard
+ pkgver = 0.22.1.r1071.59601f4
+ pkgrel = 1
+ url = http://drobilla.net/software/lilv
+ arch = i686
+ arch = x86_64
+ license = custom:ISC
+ makedepends = subversion
+ makedepends = swig
+ depends = lv2
+ depends = sratom
+ depends = python-numpy
+ optdepends = bash-completion: auto-complete words
+ provides = lilv
+ conflicts = lilv
+ conflicts = lilv-svn
+ source = lilv::git+http://git.drobilla.net/lilv.git
+ md5sums = SKIP
+
+pkgname = lilv-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..34a934ae7f3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+pkg/
+src/
+.AURINFO
+lilv/
+lilv-git-*.tar.xz
+lilv-git-*.src.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7c6219c0bc9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>
+# Contributor: prettyvanilla <prettyvanilla@posteo.at>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+
+_pkgname=lilv
+pkgname="${_pkgname}-git"
+pkgver=0.22.1.r1071.59601f4
+pkgrel=1
+pkgdesc="A C library interface to the LV2 plug-in standard"
+arch=('i686' 'x86_64')
+url="http://drobilla.net/software/lilv"
+license=("custom:ISC")
+depends=('lv2' 'sratom' 'python-numpy')
+makedepends=('subversion' 'swig')
+optdepends=("bash-completion: auto-complete words")
+provides=("${_pkgname}")
+conflicts=("${_pkgname}" "${_pkgname}-svn")
+source=("${_pkgname}::git+http://git.drobilla.net/${_pkgname}.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+
+ local ver=`grep "^LILV_VERSION" wscript | cut -d "'" -f 2`
+ echo "$ver.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}"
+
+ python waf configure --prefix=/usr \
+ --configdir=/etc \
+ --dyn-manifest \
+ --bindings
+
+ python waf
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}"
+
+ python waf install --destdir="${pkgdir}"
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}