diff options
Diffstat (limited to 'lincity-ng/Pkgfile')
-rw-r--r-- | lincity-ng/Pkgfile | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/lincity-ng/Pkgfile b/lincity-ng/Pkgfile index dc863adcd..a26de14cb 100644 --- a/lincity-ng/Pkgfile +++ b/lincity-ng/Pkgfile @@ -5,20 +5,23 @@ # Depends on: jam physfs sdl_gfx sdl_image sdl_mixer sdl_ttf name=lincity-ng -version=1.1.2 +version=2.0 release=1 -source=(http://download.berlios.de/lincity-ng/lincity-ng-$version.tar.bz2) +source=(http://download.berlios.de/$name/$name-$version.tar.bz2) build() { - cd lincity-ng-$version + cd $name-$version + local JOBS="$(sed -e 's/.*\(\-j[ 0-9]\+\) .*/\1/' <<< $MAKEFLAGS)" - ./configure --prefix=/usr + ./configure \ + --prefix=/usr \ + --disable-nls - jam + jam $JOBS jam -sprefix=$PKG/usr install rm -r \ $PKG/usr/share/doc \ - $PKG/usr/share/lincity-ng/help/{cs,pt_BR,ru,de,es,fr,nl,sv} + $PKG/usr/share/lincity-ng/locale \ + $PKG/usr/share/lincity-ng/help/{ca,cs,de,es,fr,gl,nl,pt_BR,ru,sv,tr} } - |