desktop/drumstick/PKGBUILD
2018-07-10 22:26:14 +02:00

32 lines
834 B
Bash

# Arch contribution https://www.archlinux.org/packages/community/x86_64/drumstick/
pkgname=drumstick
pkgver=1.1.0
pkgrel=2
pkgdesc="MIDI libraries for Qt5/C++"
arch=('x86_64')
url="http://drumstick.sourceforge.net/"
license=('GPL')
depends=('desktop-file-utils' 'fluidsynth' 'hicolor-icon-theme' 'shared-mime-info' 'qt5-svg')
makedepends=('cmake' 'doxygen' 'docbook-xsl')
source=("http://downloads.sourceforge.net/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2")
sha256sums=('ae1d2c0d21b45d144e181b873ffbc2979a294fab31b8d71a5b0b8cad3276f38e')
prepare() {
cd $pkgname-$pkgver
[ -d build ] || mkdir build
}
build() {
cd $pkgname-$pkgver/build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DLIB_SUFFIX=
make
}
package() {
cd $pkgname-$pkgver/build
make DESTDIR=$pkgdir install
}