Commit c8816801 authored by Carlo Landmeter's avatar Carlo Landmeter

testing/freeciv: upgrade to 2.4.3

parent c3541b18
# 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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment