contrib/hedgewars/Pkgfile
2010-06-19 22:28:11 +10:00

27 lines
654 B
Plaintext

# Description: A turn based strategy game.
# URL: http://www.hedgewars.org/
# Packager: Danny Rawlins, monster dot romster at gmail dot com
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Depends on: fpc cmake qt4 sdl_net sdl_mixer sdl_image sdl_ttf libsdl
name=hedgewars
version=0.9.13
release=1
source=(http://download.gna.org/$name/hedgewars-src-$version.tar.bz2
hedgewars-0.9.13_unit-opengl.patch)
build() {
cd hedgewars-src-$version
patch -p1 -i $SRC/hedgewars-0.9.13_unit-opengl.patch
mkdir build
cd build
cmake \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_PREFIX="/usr" ..
make
make DESTDIR=$PKG install
}