summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 37efddfca29750c86cb492f2151d55ddd1382e9d (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: Chris Oelmueller <chris.oelmueller@gmail.com>
# Contributor: Thomas Kinnen <thomas.kinnen@gmail.com>
# Contributor: Thomas Kowaliczek-Schmer <thomas.kowaliczek@posteo.de>

pkgname=unknown-horizons-git
pkgver=2017.2.373.g8319a4773
pkgrel=1
pkgdesc="Open source real-time strategy game with the comfy Anno1602 feeling."
arch=("i686" "x86_64")
url="http://www.unknown-horizons.org"
license=('GPL' 'CCPL')
depends=('fife-git' 'python' 'python-yaml' 'python-pillow' 'python-future' )
makedepends=('git' 'intltool')
conflicts=('unknown-horizons-svn' 'unknown-horizons')
replaces=('unknown-horizons-svn' 'unknown-horizons')
source=("git://github.com/unknown-horizons/unknown-horizons.git")
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%-*}"
	git describe  --tags --match "20[0-9][0-9]\.[0-9]" | sed 's/-/./g'
}

package() {
	cd "$srcdir/${pkgname%-*}"
	python setup.py install --root="$pkgdir" --optimize=1
}