mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
25 lines
656 B
Bash
25 lines
656 B
Bash
pkgname=kmetronome
|
|
pkgver=1.0.0
|
|
pkgrel=3
|
|
pkgdesc="MIDI metronome with Qt5 interface and based on the ALSA sequencer"
|
|
arch=('x86_64')
|
|
url="http://kmetronome.sourceforge.net/kmetronome.shtml"
|
|
license=('GPL')
|
|
depends=('alsa-lib' 'phonon-qt5' 'drumstick' 'qt5-base' 'qt5-svg' 'qt5-tools')
|
|
makedepends=('cmake' 'pkg-config')
|
|
source=(http://downloads.sourceforge.net/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2)
|
|
md5sums=('2dc93568c5d3381d39013ef9cf8f50b8')
|
|
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
mkdir build
|
|
cd build
|
|
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
|
|
make
|
|
}
|
|
package() {
|
|
cd $pkgname-$pkgver/build
|
|
make DESTDIR=$pkgdir install
|
|
}
|