24 lines
978 B
Bash
24 lines
978 B
Bash
|
# Template file for 'widelands'
|
||
|
pkgname=widelands
|
||
|
version=18
|
||
|
revision=1
|
||
|
wrksrc=${pkgname}-build${version}-src
|
||
|
build_style=cmake
|
||
|
configure_args="
|
||
|
-DOPENGL_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include
|
||
|
-DLUA_LIBRARY=${XBPS_CROSS_BASE}/usr/lib/liblua5.1.a
|
||
|
-DLUA_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include/lua5.1"
|
||
|
hostmakedepends="cmake python pkg-config"
|
||
|
makedepends="boost-devel minizip-devel glu-devel glew-devel SDL_gfx-devel SDL_image-devel SDL_net-devel SDL_mixer-devel SDL_ttf-devel lua51-devel"
|
||
|
short_desc="A real-time strategy game"
|
||
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||
|
license="GPL-2"
|
||
|
homepage="http://www.widelands.org/"
|
||
|
distfiles="https://launchpad.net/${pkgname}/build${version}/build-${version}/+download/${pkgname}-build${version}-src.tar.bz2"
|
||
|
checksum="6dffd9178f93ff7a9c3c0c9b31b7d3b8eb060c79fbd98901e6311837390b7de3"
|
||
|
|
||
|
post_install() {
|
||
|
vinstall ${FILESDIR}/${pkgname}.desktop 644 usr/share/applications
|
||
|
vbin ${FILESDIR}/${pkgname}.sh ${pkgname}
|
||
|
}
|