wesnoth12: removed previous branch, wesnoth is a newer branch

This commit is contained in:
Danny Rawlins 2008-04-22 12:12:45 +10:00
parent 1523c41b4e
commit 61fe531107
3 changed files with 0 additions and 5697 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1 +0,0 @@
99d17b23d2ea4dc3a008f5c69cd43789 wesnoth-1.2.8.tar.bz2

View File

@ -1,52 +0,0 @@
# Description: The Battle for Wesnoth is a turn-based strategy game with a fantasy theme.
# URL: http://www.wesnoth.org/
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Danny Rawlins, monster dot romster at gmail dot com
# Depends on: xorg-libx11 sdl_image sdl_mixer sdl_net freetype boost
# Optional: upx
name=wesnoth12
version=1.2.8
release=1
source=(http://dl.sourceforge.net/sourceforge/wesnoth/wesnoth-$version.tar.bz2)
build() {
cd wesnoth-$version
if pkginfo -i |grep '^kdebase ' > /dev/null; then
local configure='--with-kde'
fi
if pkginfo -i |grep '^kdebase3 ' > /dev/null; then
local configure='--with-kde'
fi
if pkginfo -i |grep '^gnome ' > /dev/null; then
local configure='--with-gnome'
fi
./configure \
--prefix=/usr \
--mandir=/usr/man \
--disable-nls \
--enable-python \
$configure
make
make DESTDIR=$PKG install
find $PKG/usr/man -maxdepth 0 -type d ! -regex 'man?' -exec rm -r {} \;
rm \
$PKG/usr/share/wesnoth/data/COPYING.txt \
$PKG/usr/share/wesnoth/fonts/COPYING
# compress binary files if upx is installed to save disk space
if pkginfo -i |grep '^upx ' > /dev/null; then
(
cd $PKG/usr/bin
upx -9 wesnoth
)
fi
}