Upgraded FreeCol to its 0.10.1 version.

parent c99d17b0
...@@ -3,37 +3,32 @@ ...@@ -3,37 +3,32 @@
# #
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com> # Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=freecol pkgname=freecol
pkgver=0.9.5 _pkgname=FreeCol
pkgver=0.10.1
pkgrel=1 pkgrel=1
pkgdesc="A turn-based strategy game based on Colonization" pkgdesc="A turn-based strategy game based on Colonization."
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="http://www.freecol.org/" url="http://www.freecol.org/"
license=('GPL') license=('GPL')
depends=('java-runtime') depends=('java-runtime')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-src.zip
fc.desktop fc.sh) main.desktop
md5sums=('6d5cb3b18cede24196f360b225ff7ccc' main.sh)
md5sums=('e7e218d1170cc049f0bbf7bc3bad76b1'
'68922dfb7c1db20c13c4eb6930f9bd93' '68922dfb7c1db20c13c4eb6930f9bd93'
'ae473cd1d86f8f764250ee00b6fda90b') '058e8125acc3b475e90cb2be7cd8f55a')
build() {
cd "$srcdir/$pkgname"
}
package() { package() {
cd "$srcdir/$pkgname" cd $srcdir/$pkgname
install -Dm644 FreeCol.jar "$pkgdir/usr/share/java/$pkgname/FreeCol.jar" install -Dm644 $_pkgname.jar $pkgdir/usr/share/java/$pkgname/$pkgname.jar
install -Dm644 FreeCol.pdf "$pkgdir/usr/share/doc/$pkgname/FreeCol.pdf" install -Dm644 doc/$_pkgname.pdf $pkgdir/usr/share/doc/$pkgname/$pkgname.pdf
install -Dm644 $pkgname.xpm "$pkgdir/usr/share/pixmaps/$pkgname.xpm" install -Dm644 $pkgname.xpm $pkgdir/usr/share/pixmaps/$pkgname.xpm
install -Dm644 ../fc.desktop "$pkgdir/usr/share/applications/$pkgname.desktop" install -Dm644 $srcdir/main.desktop $pkgdir/usr/share/applications/$pkgname.desktop
install -Dm755 ../fc.sh "$pkgdir/usr/bin/$pkgname" install -Dm755 $srcdir/main.sh $pkgdir/usr/bin/$pkgname
cp -r data jars "$pkgdir/usr/share/java/$pkgname/" cp -r data jars $pkgdir/usr/share/java/$pkgname/
find "$pkgdir/usr/share/java/$pkgname" -type d -exec chmod 755 '{}' \; find $pkgdir/usr/share/java/$pkgname -type d -exec chmod 755 '{}' \;
find "$pkgdir/usr/share/java/$pkgname" -type f -exec chmod 644 '{}' \; find $pkgdir/usr/share/java/$pkgname -type f -exec chmod 644 '{}' \;
} }
...@@ -5,5 +5,5 @@ LOG_PATH=/tmp/freecol ...@@ -5,5 +5,5 @@ LOG_PATH=/tmp/freecol
[ ! -d "$LOG_PATH" ] && install -dm755 $LOG_PATH [ ! -d "$LOG_PATH" ] && install -dm755 $LOG_PATH
cd $LOG_PATH cd $LOG_PATH
java -Xmx256M -jar $FC_PATH/FreeCol.jar "$@" --freecol-data $FC_PATH/data \ java -Xmx256M -jar $FC_PATH/freecol.jar "$@" --freecol-data $FC_PATH/data \
&> ./messages.log &> ./messages.log
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