summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1bff17a9027a86e7fa56280672b5728b4df8b8cf (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
# Maintainer: Rustem B. <rustemb@systemli.org>

pkgname=zweistein
pkgver=0.0.5
pkgrel=1
pkgdesc="TUI reimplementation of the Eistein puzzle"
arch=(x86_64)
url="https://github.com/ANGulchenko/ZweiStein"
license=('GPL3')
depends=(ncurses glibc)
makedepends=(gcc cmake make)
source=("${url}/archive/${pkgver}.tar.gz")
md5sums=('776e818c619934535606f78a98b2f9b8')

build() {
	cd "ZweiStein-$pkgver"
	cmake ./
	make
}

package() {
	cd "ZweiStein-$pkgver"
        install -Dm755 ZweiStein   -t "$pkgdir/usr/bin/"
	install -Dm644 LICENSE     -t "$pkgdir/usr/share/licenses/$pkgname/"
}