summaryrefslogtreecommitdiffstats
path: root/testing/freeciv
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-10-28 00:02:02 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2014-10-28 00:02:02 +0100
commitc8816801350a7647d55cfa64d3150ded02fc52a1 (patch)
treedcc60a8c10a9c137e6aeaf3355a133d28598555b /testing/freeciv
parentc3541b18d6c6d6629f8e5a9ca28223fdaf047e54 (diff)
downloadaports-c8816801350a7647d55cfa64d3150ded02fc52a1.tar.bz2
aports-c8816801350a7647d55cfa64d3150ded02fc52a1.tar.xz
testing/freeciv: upgrade to 2.4.3
Diffstat (limited to 'testing/freeciv')
-rw-r--r--testing/freeciv/APKBUILD17
1 files changed, 8 insertions, 9 deletions
diff --git a/testing/freeciv/APKBUILD b/testing/freeciv/APKBUILD
index 851b44e15..790dff4e0 100644
--- a/testing/freeciv/APKBUILD
+++ b/testing/freeciv/APKBUILD
@@ -1,16 +1,16 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=freeciv
-pkgver=2.2.5
-pkgrel=1
+pkgver=2.4.3
+pkgrel=0
pkgdesc="civilization 2 clone"
url="http://freeciv.wikia.org/"
arch="all"
license="GPL"
depends="$pkgname-server"
-makedepends="gtk+-dev gzip"
+makedepends="gtk+-dev gzip curl-dev"
install=""
-subpackages="$pkgname-dev $pkgname-doc $pkgname-server $pkgname-data"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-server $pkgname-data $pkgname-lang"
source="http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
_builddir="${srcdir}/${pkgname}-${pkgver}"
@@ -34,23 +34,22 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" -name '*.la' -delete
}
server() {
replaces="freeciv"
depends="freeciv-data"
-
mkdir -p "$subpkgdir"/usr/bin
-
- mv "$pkgdir"/usr/bin/civmanual "$subpkgdir"/usr/bin/civmanual
mv "$pkgdir"/usr/bin/freeciv-server "$subpkgdir"/usr/bin/freeciv-server
}
data() {
arch="noarch"
-
mkdir -p "$subpkgdir"/usr/share
mv "$pkgdir"/usr/share/freeciv "$subpkgdir"/usr/share/freeciv
}
-md5sums="e717de02c77139593f21b930245d1709 freeciv-2.2.5.tar.bz2"
+md5sums="437f9a4aadb80619a7c5ae9643142b8b freeciv-2.4.3.tar.bz2"
+sha256sums="7f107fe3b09f37934410dc7a64ac1b99a95997ddf53da53933b75d4da79fa899 freeciv-2.4.3.tar.bz2"
+sha512sums="7abed9b3c0f65aa5ed856080a6da68152a8fe9ea285a070858f9a92ec32fb27bfb48fb77b7098a23bbf3e092c982ed455b6ea795230295c9d14f4832378ee3ba freeciv-2.4.3.tar.bz2"