freeciv: update to 2.5.3.

This commit is contained in:
bra1nwave 2016-02-09 13:14:25 +01:00
parent 6608d98ab0
commit fd94c6f937
2 changed files with 21 additions and 5 deletions

1
srcpkgs/freeciv-qt5 Symbolic link
View file

@ -0,0 +1 @@
freeciv

View file

@ -1,6 +1,6 @@
# Template file for 'freeciv' # Template file for 'freeciv'
pkgname=freeciv pkgname=freeciv
version=2.5.2 version=2.5.3
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static --enable-fcdb=sqlite3 --enable-fcmp=all configure_args="--disable-static --enable-fcdb=sqlite3 --enable-fcmp=all
@ -11,11 +11,17 @@ makedepends="bzip2-devel liblzma-devel sqlite-devel freetype-devel
SDL_mixer-devel SDL_image-devel SDL_gfx-devel SDL_ttf-devel SDL_mixer-devel SDL_image-devel SDL_gfx-devel SDL_ttf-devel
gtk+-devel gtk+3-devel libcurl-devel lua52-devel" gtk+-devel gtk+3-devel libcurl-devel lua52-devel"
short_desc="Free and Open Source empire-building strategy game - server/data" short_desc="Free and Open Source empire-building strategy game - server/data"
maintainer="Juhani Imberg <juhani@imberg.fi>" maintainer="bra1nwave <brainwave@openmailbox.org>"
license="GPL-2" license="GPL-2"
homepage="http://freeciv.wikia.com/wiki/Main_Page" homepage="http://freeciv.wikia.com/wiki/Main_Page"
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}-${version}.tar.bz2" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=2b5665da849c8f95b9225857fc02935140de2d44cd1a112f9cf3086a84d0b5be checksum=480b0381c64bf1a9423f2507a75d76bda9bf45c3c3badd30b5bad105e75d805c
subpackages="freeciv-gtk2 freeciv-gtk3 freeciv-sdl freeciv-xaw"
if [ -z "$CROSS_BUILD" ]; then
makedepends+=" qt5-devel"
subpackages+=" freeciv-qt5"
fi
post_install() { post_install() {
rm ${DESTDIR}/usr/bin/*stub* rm ${DESTDIR}/usr/bin/*stub*
@ -42,6 +48,16 @@ freeciv-gtk3_package() {
vmove usr/share/applications/*gtk3* vmove usr/share/applications/*gtk3*
} }
} }
freeciv-qt5_package() {
short_desc="Free and Open Source empire-building strategy game - Qt5 client"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/bin/*qt*
vmove usr/share/appdata/*qt*
vmove usr/share/man/man6/*qt*
vmove usr/share/applications/*qt*
}
}
freeciv-sdl_package() { freeciv-sdl_package() {
short_desc="Free and Open Source empire-building strategy game - SDL client" short_desc="Free and Open Source empire-building strategy game - SDL client"
depends="${sourcepkg}-${version}_${revision}" depends="${sourcepkg}-${version}_${revision}"
@ -60,4 +76,3 @@ freeciv-xaw_package() {
vmove usr/share/man/man6/*xaw* vmove usr/share/man/man6/*xaw*
} }
} }