diff options
author | Christopher Arndt | 2015-07-11 17:20:52 +0200 |
---|---|---|
committer | Christopher Arndt | 2015-07-11 17:20:52 +0200 |
commit | 1cd13e768c53bbc057ca897eb5e5d0327d4f6253 (patch) | |
tree | bfab0ca32c04eb0789e3bae0e55ddc8ba4bb7614 | |
download | aur-1cd13e768c53bbc057ca897eb5e5d0327d4f6253.tar.gz |
Initial import of calf-git package
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 43 | ||||
-rw-r--r-- | calf-git.install | 12 |
4 files changed, 84 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..5d95abfac19a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = calf-git + pkgdesc = LV2/JACK audio plug-ins for musicians + pkgver = 0.0.60.r2236.f1f85c0 + pkgrel = 1 + url = http://calf.sourceforge.net/ + install = calf-git.install + arch = i686 + arch = x86_64 + license = GPL + license = LGPL + makedepends = git + depends = desktop-file-utils + depends = fluidsynth + depends = gtk-update-icon-cache + depends = lash + depends = lv2 + provides = calf + conflicts = calf + source = calf::git+git://repo.or.cz/calf.git + md5sums = SKIP + +pkgname = calf-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..ab8a686427a7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +calf/ +calf-git-*.tar.xz +calf-git-*.src.tar.gz +pkg/ +src/ +.AURINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a81fa3d083ee --- /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> +# Contributor: Philipp Überbacher <murks at lavabit dot com> + +_pkgname=calf +pkgname="${_pkgname}-git" +pkgver=0.0.60.r2236.f1f85c0 +pkgrel=1 +pkgdesc="LV2/JACK audio plug-ins for musicians" +arch=('i686' 'x86_64') +url="http://calf.sourceforge.net/" +license=('GPL' 'LGPL') +depends=('desktop-file-utils' 'fluidsynth' 'gtk-update-icon-cache' 'lash' + 'lv2') +makedepends=('git') +provides=("${_pkgname}") +conflicts=("${_pkgname}") +install="$pkgname.install" +source=("${_pkgname}::git+git://repo.or.cz/calf.git") +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/${_pkgname}" + version=$(awk -F '[][]' '/AC_INIT/{print $4}' configure.ac) + revision=$(git rev-list --count HEAD) + hash=$(git rev-parse --short HEAD) + echo $version.r$revision.$hash +} + +build() { + cd "${srcdir}/${_pkgname}" + ./autogen.sh \ + --prefix="/usr" \ + --enable-static=no \ + --enable-experimental \ + --enable-sse + make +} + +package(){ + cd "${srcdir}/${_pkgname}" + make DESTDIR="$pkgdir/" install +} diff --git a/calf-git.install b/calf-git.install new file mode 100644 index 000000000000..d82562010033 --- /dev/null +++ b/calf-git.install @@ -0,0 +1,12 @@ +post_install() { + gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |