blob: 32ba4d8e0395bb6011dd90fbe75bda881ded641e (
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
|
# Maintainer: Stephen Gregoratto <dev@sgregoratto.me>
pkgname=adlmidi-git
pkgver=1.2.6.1.r6.d0a4276
pkgrel=1
pkgdesc="CLI MIDI player using OPL3 emulation"
url="https://bisqwit.iki.fi/source/adlmidi.html"
license=('GPL3' 'GPL2')
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
depends=('sdl2')
makedepends=('git')
optdepends=('ffmpeg: recording output to video file')
conflicts=(adlmidi)
source=("git://bisqwit.iki.fi/adlmidi.git"
"adlmidi-git.patch")
sha256sums=('SKIP'
'606c4d3643ddf2accf445ede3a8f5b7371a6fdc5f9885a8a77aca998a5a0d7c8')
pkgver() {
cd "${pkgname%-git}"
git describe --long --tags origin/release | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
}
prepare() {
cd "${pkgname%-git}"
patch -Np1 -i "$srcdir/adlmidi-git.patch"
}
build() {
cd "${pkgname%-git}"
make
}
package() {
install -Dm755 "${pkgname%-git}/adlmidi" "$pkgdir/usr/bin/adlmidi"
}
|