desktop/vmpk/PKGBUILD
2015-08-22 20:37:16 +02:00

28 lines
865 B
Bash

pkgname=vmpk
pkgver=0.6.1
pkgrel=1
pkgdesc="MIDI event generator and receiver"
arch=('x86_64')
url="http://sourceforge.net/projects/vmpk/"
depends=('qt5-x11extras' 'drumstick')
makedepends=('cmake' 'docbook-xsl' 'qt5-tools')
license=('GPL3')
install="$pkgname.install"
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2")
sha512sums=('6ca63abb3cc8a586173ace6ba42e9c26620c0597340317674326e45d2aeb7c47896f50ed636168e16cf574822d4f7c11c5083acbe51ea05330acfafd423b871c')
build() {
cd "$srcdir/$pkgname-$pkgver"
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=release
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
sed -i s!"Categories=AudioVideo;Audio;Midi;Education;Music;"!"Categories=AudioVideo;Music;"! \
${pkgdir}/usr/share/applications/vmpk.desktop
}