2006-11-20 07:26:53 +10:00
|
|
|
# Description: Free Civilisation Clone
|
|
|
|
# URL: http://www.freeciv.org
|
2007-01-20 12:21:06 +10:00
|
|
|
# Packager: James Mills, prologic at shortcircuit dot net dot au
|
2008-03-12 22:55:05 +01:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2020-07-10 11:31:34 +00:00
|
|
|
# Depends on: gtk3 lua sdl2_mixer xorg-libxaw xorg-libxpm
|
2006-11-14 09:01:22 +10:00
|
|
|
|
|
|
|
name=freeciv
|
2020-06-08 19:43:03 +00:00
|
|
|
version=2.6.2
|
2006-11-14 09:01:22 +10:00
|
|
|
release=1
|
2010-12-14 13:15:14 +01:00
|
|
|
source=(http://prdownloads.sf.net/freeciv/$name-$version.tar.bz2)
|
2006-11-14 09:01:22 +10:00
|
|
|
|
|
|
|
build() {
|
2006-11-20 07:26:53 +10:00
|
|
|
cd $name-$version
|
2020-07-10 11:31:34 +00:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--enable-shared \
|
|
|
|
--enable-sys-lua \
|
|
|
|
--enable-client=gtk3 \
|
|
|
|
--enable-fcmp=gtk3 \
|
|
|
|
--without-ggz-client
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2014-04-29 15:13:24 +02:00
|
|
|
rm -rf $PKG/usr/share/{locale,doc}
|
2020-07-10 11:31:34 +00:00
|
|
|
find $PKG -iname '*readme*' -exec rm -fr '{}' \+
|
2006-11-14 09:01:22 +10:00
|
|
|
}
|