diff options
author | Lucki | 2019-06-09 16:19:30 +0200 |
---|---|---|
committer | Lucki | 2019-06-09 16:19:30 +0200 |
commit | b54ebe471d5d7b724e98fcb2899ccbf9943a72a9 (patch) | |
tree | cd072c55137cc64fc2d622826e29005483c6c6da /PKGBUILD | |
parent | f1a184bbd3814d6bf9747e26d62a403ee4c64c1f (diff) | |
download | aur-b54ebe471d5d7b724e98fcb2899ccbf9943a72a9.tar.gz |
Minor improvements
- remove build step so all files are getting picked up by the build system
- manually generate atlases as it's somehow missing
- keep build files inside the build folder
- correct arch
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -8,24 +8,27 @@ pkgname=unknown-horizons pkgver=2019.1 -pkgrel=1 +pkgrel=2 pkgdesc="2D realtime strategy simulation with an emphasis on economy and city building." -arch=('i686' 'x86_64') +arch=('any') url="http://www.unknown-horizons.org/" license=('GPL' 'CCPL') changelog=.CHANGELOG depends=('fife' 'python-pillow' 'python-yaml' 'python-future') -makedepends=('intltool') +makedepends=('intltool' 'python-setuptools') conflicts=('unknown-horizons-git') source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/$pkgver.tar.gz") sha512sums=('87ae37442ee0b80130c7a75c7eeb7c0ef6c50f3e6b2616db32e6381ace5068729ab7086edefc00eefd3b89e85f9a05fb6c4d05f2a2adc46fa928e5c2a29b72db') +# unknown-horizons build system misses a few files if the build step is seperated from the install +# step build() { cd "$srcdir/$pkgname-$pkgver" - python setup.py build --quiet + # HOME=. python setup.py build + HOME=. python horizons/engine/generate_atlases.py 2048 } package() { cd "$srcdir/$pkgname-$pkgver" - python setup.py install --root="$pkgdir/" --optimize=1 --skip-build --quiet + HOME=. python setup.py install --root="$pkgdir/" --optimize=1 #--skip-build } |