blob: 1dbb19a2713cf78a3a06b5ac8a6b781ffc6ba84a (
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
|
# Maintainer: mekb https://github.com/mekb-turtle
# Maintainer: Enzo Barrett <enzobarrett@gmail.com>
pkgname=npiano-git
pkgver=V0.9.r9.g49b743d
pkgrel=2
pkgdesc="A piano in ncurses"
arch=('any')
url="https://github.com/enzobarrett/npiano"
license=('GPL')
depends=('ncurses' 'beep')
source=("npiano::git+${url}.git")
sha256sums=(SKIP)
build() {
cd "npiano"
make
}
package() {
cd "npiano"
install -m755 -D npiano $pkgdir/usr/bin/npiano
}
pkgver() {
cd "npiano"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
|