Localization fix for Unknown Horizons

This commit is contained in:
Adrián Chaves Fernández (Gallaecio) 2013-04-07 22:03:56 +02:00
parent 714dbeecfc
commit df33837622

View File

@ -9,7 +9,7 @@
pkgname=unknown-horizons
pkgver=2013.2
pkgrel=1
pkgrel=2
pyver=2.7
pkgdesc="A 2D realtime strategy simulation with an emphasis on economy and city building"
arch=('i686' 'x86_64')
@ -24,6 +24,9 @@ md5sums=('8835e1c3493db20658677e82f29fe5bb')
package() {
cd $srcdir/$pkgname
# Workaround for an upstream packaging issue (old language pre-built files are distributed in 2013.2).
rm -rf content/lang/*
sed -i 's/env python$/env python2/' run_uh.py
python2 setup.py build_i18n