aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 304d2d6f5f9a57cc52b883eb951e9764cd053c26 (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.2.0
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 --long --tags | sed 's/^v//; s/-/.r/; s/-/./'
}

build() {
	cd tty-solitaire
	make
}

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