2015-08-23 02:26:31 +08:00
|
|
|
# Arch contribution https://www.archlinux.org/packages/community/x86_64/drumstick/
|
2015-06-23 01:46:48 +08:00
|
|
|
|
|
|
|
pkgname=drumstick
|
2016-10-01 23:34:06 +08:00
|
|
|
pkgver=1.1.0
|
2018-07-11 04:26:14 +08:00
|
|
|
pkgrel=2
|
2015-06-23 01:46:48 +08:00
|
|
|
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")
|
2016-10-01 23:34:06 +08:00
|
|
|
sha256sums=('ae1d2c0d21b45d144e181b873ffbc2979a294fab31b8d71a5b0b8cad3276f38e')
|
2015-06-23 01:46:48 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $pkgname-$pkgver
|
2016-10-01 23:34:06 +08:00
|
|
|
[ -d build ] || mkdir build
|
2015-06-23 01:46:48 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2016-10-01 23:34:06 +08:00
|
|
|
cd $pkgname-$pkgver/build
|
2015-06-23 01:46:48 +08:00
|
|
|
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DLIB_SUFFIX=
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2016-10-01 23:34:06 +08:00
|
|
|
cd $pkgname-$pkgver/build
|
|
|
|
make DESTDIR=$pkgdir install
|
2015-06-23 01:46:48 +08:00
|
|
|
}
|