community/cadence to 0.8.1-8

This commit is contained in:
Kevin Mihelich 2018-03-07 13:33:59 +00:00
parent dac78151a4
commit 83940a7721

View file

@ -8,11 +8,12 @@
_name=Cadence
pkgname=cadence
pkgver=0.8.1
pkgrel=7
pkgrel=8
pkgdesc="JACK toolbox for audio production."
arch=('x86_64')
url="https://kxstudio.sf.net/cadence"
url="https://kxstudio.linuxaudio.org/Applications:Cadence"
license=('GPL2')
groups=('pro-audio')
depends=('jack' 'python-dbus' 'python-pyqt4')
makedepends=('a2jmidid' 'jack_capture' 'libpulse' 'pulseaudio-jack' 'python-rdflib' 'zita-ajbridge')
optdepends=('a2jmidid: ALSA to JACK MIDI bridge'
@ -24,17 +25,17 @@ source=("https://downloads.sourceforge.net/project/kxstudio/Releases/${pkgname}/
sha512sums=('333a8532859cfa4ca61446b6b136baa7930d2a9d1acbb55e2ee296998604c0e8e3effd5e21fe3154caf8ae6534190a0f592b070b671164ccfd647567ba2cc33f')
prepare() {
cd "${_name}-${pkgver}"
mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
cd "${pkgname}-${pkgver}"
sed -i 's/-mtune=generic -msse -mfpmath=sse//' c++/Makefile.mk
}
build() {
cd "${_name}-${pkgver}"
make
}
package() {
cd "${_name}-${pkgver}"
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" PREFIX=/usr install
# docs
install -t "${pkgdir}/usr/share/doc/${pgkname}/" -vDm644 {README.md,TODO}