mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-10 13:44:38 +08:00
33 lines
912 B
Bash
33 lines
912 B
Bash
# Arch contribution https://www.archlinux.org/packages/community/x86_64/drumstick/
|
|
|
|
pkgname=drumstick
|
|
pkgver=1.0.1
|
|
pkgrel=1
|
|
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')
|
|
install="$pkgname.install"
|
|
source=("http://downloads.sourceforge.net/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2")
|
|
sha512sums=('d1d3fd3d4d460d8c53dbd73dd449bd049f6baac653b6eaac8800d7a615881e5ef29877c82fb5e162f2612c004e2c70236206476ff4fe505fd20497f737ac1ab0')
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
[ -d b ] || mkdir b
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver/b
|
|
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DLIB_SUFFIX=
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver/b
|
|
make DESTDIR="$pkgdir/" install
|
|
}
|