1
0
forked from ports/contrib

27 lines
624 B
Plaintext
Raw Normal View History

2010-04-04 16:33:54 +10:00
# Description: A turn based strategy game.
# URL: http://www.hedgewars.org/
2014-11-10 23:28:07 +11:00
# Packager: Danny Rawlins, crux at romster dot me
# Maintainer: Danny Rawlins, crux at romster dot me
2017-11-01 23:35:12 +11:00
# Depends on: fpc libidn lua qt4 sdl_image sdl_mixer sdl_net sdl_ttf
2010-04-04 16:33:54 +10:00
name=hedgewars
2012-02-07 18:25:30 +11:00
version=0.9.17
2011-09-22 13:20:50 +10:00
release=1
2010-06-19 22:28:11 +10:00
source=(http://download.gna.org/$name/hedgewars-src-$version.tar.bz2
2011-01-09 21:58:00 +11:00
hedgewars-0.9.15_unit-opengl.patch)
2010-04-04 16:33:54 +10:00
build() {
cd hedgewars-src-$version
2011-01-09 21:58:00 +11:00
patch -p1 -i $SRC/hedgewars-0.9.15_unit-opengl.patch
2010-04-04 16:33:54 +10:00
mkdir build
cd build
cmake \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_PREFIX="/usr" ..
make
make DESTDIR=$PKG install
}