blob: 0830919e277c7a14b6a1b49c5458d3528fd788a1 (
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
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Gary Wang <git@blumia.net>
pkgname=pineapple-midi-player
pkgver=1.3.0
pkgrel=1
pkgdesc='Simple SoundFont MIDI Player'
arch=('x86_64' 'aarch64')
url='https://github.com/BLumia/pineapple-midi-player/'
license=('MIT')
depends=(
'qt5-svg'
'portaudio'
)
makedepends=(
'git'
'qt5-tools'
'cmake'
)
optdepends=(
'soundfont-fluid: Decent SoundFont provided by FluidSynth'
)
source=(
"${pkgname}-${pkgver}.tar.gz::https://github.com/BLumia/pineapple-midi-player/archive/${pkgver}.tar.gz"
)
sha256sums=(
'6f77ca743e0b47a6516f7a119b010d5e7c2c696445e00f4923355cdef3beacf9'
)
build () {
cd ${srcdir}/${pkgname}-${pkgver}
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .
cmake --build . -j`nproc`
}
package() {
make -C ${srcdir}/${pkgname}-${pkgver} DESTDIR="$pkgdir" install
cd ${srcdir}/${pkgname}-${pkgver}
#make INSTALL_ROOT="$pkgdir" install
#install -Dm755 ./ppic ${pkgdir}/usr/bin/ppic
mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}
install ./LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}
|