summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO23
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD44
3 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..93dd2b40d81
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = jack_capture-git
+ pkgdesc = Simple command line tool to record JACK audio output to a file (git version)
+ pkgver = 0.9.73.r163.472b13e
+ pkgrel = 1
+ url = https://github.com/kmatheussen/jack_capture
+ arch = i686
+ arch = x86_64
+ groups = pro-audio
+ license = GPL
+ makedepends = git
+ depends = jack
+ depends = lame
+ depends = liblo
+ depends = libsndfile
+ optdepends = meterbridge: levels monitor
+ optdepends = zenity: gtk2 gui
+ provides = jack_capture
+ conflicts = jack_capture
+ source = jack_capture::git+https://github.com/kmatheussen/jack_capture.git
+ md5sums = SKIP
+
+pkgname = jack_capture-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..9ae20a20474
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+pkg/
+src/
+.AURINFO
+jack_capture/
+jack_capture-git-*.tar.xz
+jack_capture-git-*.src.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ec9e9f02cda
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>
+
+_pkgname=jack_capture
+pkgname="${_pkgname}-git"
+pkgver=0.9.73.r163.472b13e
+pkgrel=1
+pkgdesc="Simple command line tool to record JACK audio output to a file (git version)"
+arch=('i686' 'x86_64')
+url="https://github.com/kmatheussen/jack_capture"
+license=('GPL')
+groups=('pro-audio')
+depends=('jack' 'lame' 'liblo' 'libsndfile')
+makedepends=('git')
+optdepends=('meterbridge: levels monitor'
+ 'zenity: gtk2 gui')
+provides=("${_pkgname}")
+conflicts=("${_pkgname}")
+source=("${_pkgname}::git+https://github.com/kmatheussen/${_pkgname}.git")
+md5sums=('SKIP')
+
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+
+ local ver="$(grep ^VERSION= Makefile | cut -f 2 -d =)"
+ echo "$ver.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}"
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}"
+
+ make PREFIX='/usr' DESTDIR="${pkgdir}" install
+ # gtk2 gui
+ install -Dm 755 "${_pkgname}_gui" "${pkgdir}/usr/bin/${_pkgname}_gui"
+ # doc
+ install -Dm 644 README -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+# vim:set ts=2 sw=2 et: