diff --git a/community/jack_capture/PKGBUILD b/community/jack_capture/PKGBUILD new file mode 100644 index 000000000..e19580277 --- /dev/null +++ b/community/jack_capture/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: David Runge +# Contributor: Christopher Arndt +# Contributor: speps +# Contributor: hm_b +# Contributor: Leslie P. Polzer +# Contributor: Philipp Überbacher + +# ALARM: Kevin Mihelich +# - explicitly link v5/v6 with libatomic + +pkgname=jack_capture +pkgver=0.9.73 +pkgrel=5 +pkgdesc="Simple command line tool to record JACK audio output to a file" +arch=('x86_64') +url="https://github.com/kmatheussen/jack_capture" +license=('GPL2') +depends=('jack' 'lame' 'liblo') +optdepends=('meterbridge: levels monitor' + 'zenity: gtk2 gui') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/kmatheussen/${pkgname}/archive/${pkgver}.tar.gz") +sha512sums=('eecab2e26d5e83b65adf386d6fb38f2d9169cf1574e462ec455367f7d98f4f4d5a9d0766b9c572cfdcb43c55ae914bb8a2222267842c9912e2afe13c1f7b0038') + +build() { + cd "${pkgname}-${pkgver}" + [[ $CARCH == "arm" || $CARCH == "armv6h" ]] && LDFLAGS+=" -latomic" + make +} + +package(){ + cd "${pkgname}-${pkgver}" + make PREFIX='/usr' DESTDIR="${pkgdir}" install + # gtk2 gui + install -vDm755 "${pkgname}_gui" "${pkgdir}/usr/bin/${pkgname}_gui" + # doc + install -vDm644 README "${pkgdir}/usr/share/doc/${pkgname}/README" +} +# vim:set ts=2 sw=2 et: