Permalink
Browse files

hedgewars: update to 0.9.25.

  • Loading branch information...
Hoshpak committed Dec 6, 2018
1 parent 6616595 commit 6c6787eb1c8c4868ec616b390022aa20b5651d71
Showing with 11 additions and 3 deletions.
  1. +11 −3 srcpkgs/hedgewars/template
@@ -1,7 +1,7 @@
# Template file for 'hedgewars'
pkgname=hedgewars
version=0.9.24.1
revision=2
version=0.9.25
revision=1
wrksrc="${pkgname}-src-${version}"
build_style=cmake
configure_args="-DNOSERVER=1 -DDATA_INSTALL_DIR=/usr/share/${pkgname}
@@ -15,14 +15,22 @@ maintainer="Jakub Skrzypnik <jot.skrzyp@gmail.com>"
license="GPL-2.0-only"
homepage="https://www.hedgewars.org/"
distfiles="https://hedgewars.org/download/releases/hedgewars-src-${version}.tar.bz2"
checksum=81360a41aa911a667163c25bed9a823e32b17ff130b328399ddcba049b5d5bb8
checksum=07dc527dbc90dddea894f518aadd67aa2eebb19738739a7c1bd7fd1e608e1c6e
nopie_files="/usr/bin/hwengine"
nocross="Needs investigation: fails to link hwengine"
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-devel"
fi
case $XBPS_TARGET_MACHINE in
# forces usage of C engine and ghc due to a 32 bit freepascal bug
i686*)
hostmakedepends+=" glew-devel ghc"
nopie_files+=" /usr/bin/hedgewars"
;;
esac
post_install() {
vinstall ${DESTDIR}/usr/share/hedgewars/Data/misc/hedgewars.desktop 644 usr/share/applications
}

0 comments on commit 6c6787e

Please sign in to comment.