summaryrefslogtreecommitdiff
path: root/hedgewars/Pkgfile
blob: 6313e18af0bf88dc568df876397cc4a688273e47 (plain)
    1 # Description: A turn based strategy game.
    2 # URL: http://www.hedgewars.org/
    3 # Packager: Danny Rawlins, monster dot romster at gmail dot com
    4 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
    5 # Depends on: cmake fpc lua qt4 sdl_image sdl_mixer sdl_net sdl_ttf
    6 
    7 name=hedgewars
    8 version=0.9.13
    9 release=1
   10 source=(http://download.gna.org/$name/hedgewars-src-$version.tar.bz2
   11 	hedgewars-0.9.13_unit-opengl.patch)
   12 
   13 build() {
   14 	cd hedgewars-src-$version
   15 	patch -p1 -i $SRC/hedgewars-0.9.13_unit-opengl.patch
   16 
   17 	mkdir build
   18 	cd build
   19 
   20 	cmake \
   21 		-DCMAKE_BUILD_TYPE="Release" \
   22 		-DCMAKE_INSTALL_PREFIX="/usr" ..
   23 
   24 	make
   25 	make DESTDIR=$PKG install
   26 }

Generated by cgit