You are not logged in.
edit:marking as solved since 1.6 is in testing now. thanks!
wesnoth 1.6 is out and the arch repos still have version 1.4.7.. i adapted the PKGBUILD from abs to build the newest version.
PKGBUILD:
# $Id: PKGBUILD 22939 2008-12-29 23:35:02Z giovanni $
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Jacobo Arvelo <unix4all@ya.com>
# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org>
pkgname=wesnoth
pkgver=1.6a
pkgrel=1
pkgdesc="A turn-based strategy game on a fantasy world"
arch=(i686 x86_64)
license=('GPL')
url="http://www.wesnoth.org/"
depends=('sdl_ttf' 'sdl_net' 'sdl_mixer' 'sdl_image' 'libvorbis' 'fribidi' 'freetype2' 'gcc-libs' 'boost' 'python>=2.6')
install=wesnoth.install
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --localstatedir=/var --enable-tools --enable-editor --enable-server
make || return 1
make DESTDIR=$startdir/pkg install
# install menu entry
install -D -m644 icons/wesnoth.desktop $startdir/pkg/usr/share/applications/wesnoth.desktop
install -D -m644 images/wesnoth-icon-small.png $startdir/pkg/usr/share/pixmaps/wesnoth-icon-small.png
}
md5sums=('3c4618eb64d1e5aeb6a00ab3956d5080')
PKGBUILD diff:
--- /var/abs/extra/wesnoth/PKGBUILD 2009-03-23 05:04:37.000000000 +0100
+++ PKGBUILD 2009-03-23 11:03:02.000000000 +0100
@@ -4,7 +4,7 @@
# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org>
pkgname=wesnoth
-pkgver=1.4.7
+pkgver=1.6a
pkgrel=1
pkgdesc="A turn-based strategy game on a fantasy world"
arch=(i686 x86_64)
@@ -21,6 +21,6 @@
make DESTDIR=$startdir/pkg install
# install menu entry
install -D -m644 icons/wesnoth.desktop $startdir/pkg/usr/share/applications/wesnoth.desktop
- install -D -m644 images/wesnoth-icon.png $startdir/pkg/usr/share/pixmaps/wesnoth-icon.png
+ install -D -m644 images/wesnoth-icon-small.png $startdir/pkg/usr/share/pixmaps/wesnoth-icon-small.png
}
-md5sums=('fdd341c3d66bf1bea2113c79db852d68')
+md5sums=('3c4618eb64d1e5aeb6a00ab3956d5080')
tested on x86_64, builds and runs ok. only had to change the version/md5sum and the wesnoth icon filename in the pkgbuild.
would be nice to get an updated version in the repos
Last edited by schuay (2009-03-25 08:50:27)
Offline
Thanks for doing this schuay. I love wesnoth. Tried the pkgbuild and it builds and runs just fine. Will be in arch soon. Little disappointed 1.6 only has one new campaign but I know they take alot of work to build.
Last edited by Gen2ly (2009-03-23 19:21:26)
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline
It's, indeed, a great game. Thanks for letting me know that 1.6 was alredy out! Let's hope it comes updated soon
Tsk, this times I'd really like to help..
EDIT: It alredy has been submitted and it's currently in [testing].
Last edited by Alxe (2009-03-24 21:39:27)
Arch64
Offline