blob: c9b916ad9dc11d6cb314d47d387f0b2153c65cf5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: MGislv <mgislv at ceppo dot xyz>
# Contributor: Balló György <ballogyor+arch at gmail dot com>
pkgname=dmidiplayer
pkgver=1.7.4
pkgrel=1
pkgdesc='MIDI file player based on Drumstick'
arch=(x86_64)
url='https://dmidiplayer.sourceforge.io/'
license=('GPL-3.0-or-later')
depends=(hicolor-icon-theme drumstick uchardet qt6-base qt6-5compat)
makedepends=(cmake qt6-tools pandoc)
source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
sha512sums=('3cc680331bd666547d60ed24ea941a5ab5f608a333fc0a7da9bb9179c94eecf59a9430aab0cdf633253555883a489c458355b520ede9af231a095d8d5ae39b45')
#options=(debug)
build() {
cmake -B build -S $pkgname-$pkgver \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_DOCS=ON
make -C build
}
package() {
make DESTDIR="$pkgdir" -C build install
install -Dm644 $pkgname-$pkgver/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 $pkgname-$pkgver/{ChangeLog,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"
}
|