freedroidRPG: update to 0.16.1

This commit is contained in:
Jürgen Buchmüller 2016-04-04 09:18:54 +02:00
parent b6e47547ee
commit 80521b6482

View file

@ -1,9 +1,8 @@
# Template file for 'freedroidRPG'.
pkgname=freedroidRPG
version=0.16
version=0.16.1
revision=1
_rcver=rc2
wrksrc=${pkgname,,}-${version}${_rcver}
wrksrc=${pkgname,,}-${version}
build_style=gnu-configure
hostmakedepends="pkg-config python"
makedepends="SDL_gfx-devel SDL_image-devel SDL_mixer-devel
@ -13,8 +12,8 @@ short_desc="Role playing game featuring Tux and evil robots"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-3"
homepage="http://www.freedroid.org/"
distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version}/${pkgname}-${version}${_rcver}.tar.gz"
checksum=e93c2f98f0997110c56cd0de5be453b369532596d7beda8c19add52b8bb40333
distfiles="http://ftp.osuosl.org/pub/freedroid/${pkgname}-${version%.*}/${pkgname}-${version}.tar.gz"
checksum=426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
case "$XBPS_TARGET_MACHINE" in
*-musl) configure_args+=" --disable-backtrace"
@ -36,7 +35,7 @@ post_install() {
vbin ${script}
# Start the wrapper script from the desktop file
sed -i ${PKGDESTDIR}/usr/share/applications/${pkgname}.desktop \
sed -i ${PKGDESTDIR}/usr/share/applications/${pkgname,,}.desktop \
-e "/^Exec/s;=${pkgname};=${script};"
}