diff --git a/unknown-horizons/PKGBUILD b/unknown-horizons/PKGBUILD index ad9fc7ead..323dcbe43 100644 --- a/unknown-horizons/PKGBUILD +++ b/unknown-horizons/PKGBUILD @@ -1,28 +1,20 @@ -# Forked from https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=unknown-horizons +# Contributions from AUR: https://aur.archlinux.org/packages/unknown-horizons/ + pkgname=unknown-horizons -pkgver=2014.1 -pkgrel=4 +pkgver=2017.2 +pkgrel=1 pkgdesc="2D realtime strategy simulation with an emphasis on economy and city building." -arch=('x86_64') +arch=('i686' 'x86_64') url="http://www.unknown-horizons.org/" license=('GPL' 'CCPL') -depends=('fife>0.3.5' 'python2' 'python2-pillow' 'python2-yaml') +depends=('fife>=0.4.1' 'python2' 'python2-pillow' 'python2-yaml') makedepends=('intltool') conflicts=('unknown-horizons-svn' 'unknown-horizons-git') -source=("https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz" - -"fix-atlas-overlays.diff::https://github.com/unknown-horizons/unknown-horizons/commit/405c514eab9e2abffe8d1a8912646447e6a29cfa.patch") -sha256sums=('5f9dd483e81ad89bff1bc46739349ab531cc930830bf17ef390ac239940a236b' - 'e051fb7555d9478e06ee278856b27d1e0ef94cf88db9babdf0f903e5df03ef6f') - -prepare() { - cd "$srcdir/$pkgname" - # Fix crash with color overlays if using atlases (the default) - patch -p1 -i "${srcdir}/fix-atlas-overlays.diff" -} +source=("https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz") +md5sums=('a99c8858f6cce0b560b97ce74518d007') +sha256sums=('4d2d3d1d82b9c5bbe4d49a3ee82eff70b8fec6429eb295e86cd6a381345ad7bb') package() { cd "$srcdir/$pkgname" python2 setup.py --quiet install --root="$pkgdir" --optimize=1 } -