blob: a1769f45bae65cb2aa6c905f25177cc7df28109f (
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
|
# Maintainer: Lubosz Sarnecki <lubosz ! gmail ! com>
pkgname=minigbs-git
pkgver=1.4.2+0+gd880bfc
pkgrel=1
pkgdesc="Small .gbs chiptune player for Linux."
arch=('i686' 'x86_64')
license=('MIT')
url="https://github.com/baines/MiniGBS"
depends=('alsa-lib' 'ncurses')
makedepends=('git' 'make' 'libx11')
optdepends=('libx11: Oscilloscope')
provides=("minigbs="$pkgver)
replaces=("minigbs")
conflicts=("minigbs")
source=('git+https://github.com/baines/MiniGBS.git')
sha256sums=('SKIP')
pkgver() {
cd MiniGBS
git describe --tags --long | sed 's/-/+/g'
}
prepare() {
cd MiniGBS
# Install to /usr
sed -i 's|/usr/local|/usr|' Makefile
}
build() {
cd MiniGBS
make
}
package() {
cd MiniGBS
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
|