aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 94d347cda2e5c1dae5355255d66f0d3d6027ef8b (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
pkgname=tty-solitaire-git
pkgver=0.1.0.r4.g7b127c9
pkgrel=1

pkgdesc='An ncurses-based Klondike solitaire clone'
url='https://github.com/mpereira/tty-solitaire'
arch=('i686' 'x86_64')
license=('MIT')

makedepends=('git')
depends=('ncurses')

source=('git+https://github.com/mpereira/tty-solitaire')

sha256sums=('SKIP')

pkgver() {
	cd tty-solitaire
	git describe --tags | sed 's/^v//; s/-/.r/; s/-/./'
}

build() {
	cd tty-solitaire
	make
}

package() {
	cd tty-solitaire
	make DESTDIR="$pkgdir" PREFIX="/usr" install
}