2015-09-16 05:38:13 +02:00
|
|
|
# Template file for 'hedgewars'
|
|
|
|
pkgname=hedgewars
|
|
|
|
version=0.9.21.1
|
2015-09-21 08:52:36 +02:00
|
|
|
revision=2
|
2015-09-16 05:38:13 +02:00
|
|
|
wrksrc="${pkgname}-src-${version%.*}"
|
|
|
|
build_style=cmake
|
|
|
|
configure_args="
|
|
|
|
-DNOSERVER=1
|
|
|
|
-DDATA_INSTALL_DIR=/usr/share/${pkgname}
|
2015-09-21 08:52:36 +02:00
|
|
|
-DPHYSFS_SYSTEM=1
|
2015-09-16 05:38:13 +02:00
|
|
|
"
|
2015-09-21 08:52:36 +02:00
|
|
|
hostmakedepends="cmake lua51 pkg-config fpc qt-qmake"
|
|
|
|
makedepends="qt-devel SDL_net-devel SDL_mixer-devel SDL_image-devel SDL_ttf-devel lua51-devel physfs-devel libpng-devel ffmpeg-devel libfreeglut-devel"
|
|
|
|
depends="dejavu-fonts-ttf wqy-microhei hedgewars-data libfreeglut"
|
2015-09-16 05:38:13 +02:00
|
|
|
short_desc="Funny turn-based artillery game, featuring fighting Hedgehogs!"
|
|
|
|
maintainer="Jakub Skrzypnik <jot.skrzyp@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://hedgewars.org"
|
|
|
|
distfiles="http://download.gna.org/hedgewars/hedgewars-src-${version}.tar.bz2"
|
|
|
|
checksum=590a9458d2123c5550d5eb39edfed28d0663703d76e13c8987237c92ca41f3f8
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vinstall ${DESTDIR}/usr/share/hedgewars/Data/misc/hedgewars.desktop 644 usr/share/applications
|
|
|
|
}
|
|
|
|
|
|
|
|
hedgewars-data_package() {
|
|
|
|
short_desc+=" - data files"
|
|
|
|
noarch=yes
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/share/hedgewars/Data
|
|
|
|
}
|
|
|
|
}
|