blob: 0c77ddc0d750e7c90767923ee6955719d346b2e4 (
plain)
1 # Description: Polished and improved version of the classic LinCity game.
2 # URL: http://www.libregamewiki.org/LinCity-NG
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Packager: Mark Rosenstand, mark at borkware dot net
5 # Depends on: jam physfs sdl_gfx sdl_image sdl_mixer sdl_ttf glu
6
7 name=lincity-ng
8 version=2.0
9 release=1
10 source=(http://crux.ster.zone/distfiles/$name/$name-$version.tar.bz2)
11
12 build() {
13 cd $name-$version
14 local JOBS="$(sed -e 's/.*\(\-j[ 0-9]\+\) \{0,1\}.*/\1/' <<< $MAKEFLAGS)"
15
16 ./configure \
17 --prefix=/usr \
18 --disable-nls
19
20 jam $JOBS
21 jam -sprefix=$PKG/usr install
22
23 rm -r \
24 $PKG/usr/share/doc \
25 $PKG/usr/share/lincity-ng/locale \
26 $PKG/usr/share/lincity-ng/help/{ca,cs,de,es,fr,gl,nl,pt_BR,ru,sv,tr}
27 }
|