desktop/minuet/PKGBUILD

35 lines
880 B
Bash

# Include global configuration
source ../kdeapps.conf
pkgname=minuet
pkgver=${_kdever}
pkgrel=2
pkgdesc="A KDE Software for Music Education"
arch=('x86_64')
url='https://github.com/KDE/pimcommon'
license=('LGPL')
depends=('ki18n' 'kxmlgui' 'kio' 'kcrash' 'drumstick' 'timidity++' 'qt5-quickcontrols2')
optdepends=('soundfont-fluidr3: for MIDI sound'
'soundfont-personalcopy: for MIDI sound'
'soundfont-unison: for MIDI sound')
makedepends=('extra-cmake-modules' 'kdoctools')
groups=(kde kde-applications kdeedu kde-uninstall)
options=('docs' 'debug')
source=("$_mirror/${pkgname}-$_kdever.tar.xz")
sha256sums=(`grep " ${pkgname}-${_kdever}.tar.xz" ../checksums.txt | cut -d " " -f1`)
prepare() {
mkdir -p build
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver}
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}