blob: 2e91b040978615b938e994d0920400007b3135f9 (
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
|
# Maintainer : Kazumi M. <kuroclef@gmail.com>
pkgname=shinonome-git
pkgver=latest
pkgrel=1
pkgdesc='A console-based BMS player using ncurses.'
arch=(i686 x86_64)
url=https://github.com/kuroclef/shinonome
license=(GPL3)
depends=(ncurses sdl2 sdl2_mixer)
makedepends=(git)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=(git://github.com/kuroclef/shinonome.git)
md5sums=(SKIP)
pkgver() {
cd "${pkgname%-git}"
printf %s "$(date -I -ud "$(git log -1 --format=%ci)" | tr -d -)"
}
build() {
cd "${pkgname%-git}"
make
}
package() {
cd "${pkgname%-git}"
install -Dm 755 "${pkgname%-git}" "$pkgdir"/usr/bin/"${pkgname%-git}"
install -Dm 644 README.md "$pkgdir"/usr/share/doc/"${pkgname%-git}"/README.md
}
|