Hale 0.5.1. Note: not to be build yet, the latest version tries to write in...

Hale 0.5.1. Note: not to be build yet, the latest version tries to write in the installation path, so the game does not start.
parent b15b24cc
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com> # Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=hale pkgname=hale
pkgver=0.2.4 pkgver=0.5.1
pkgrel=1 pkgrel=1
pkgdesc="Role-playing game ith a deep tactical combat system and storyline." pkgdesc="Role-playing game with a deep tactical combat system and storyline"
arch=(any) arch=(any)
url="http://sourceforge.net/apps/mediawiki/hale/index.php?title=Main_Page" url="http://sourceforge.net/apps/mediawiki/hale/index.php?title=Main_Page"
screenshot="http://sourceforge.net/apps/gallery/hale/main.php?g2_view=core.DownloadItem&g2_itemId=92&g2_serialNumber=2" screenshot="http://sourceforge.net/apps/gallery/hale/main.php?g2_view=core.DownloadItem&g2_itemId=92&g2_serialNumber=2"
...@@ -15,23 +15,45 @@ depends=('java-runtime') ...@@ -15,23 +15,45 @@ depends=('java-runtime')
options=('!strip') options=('!strip')
categories=('games') categories=('games')
source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.zip) source=(http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.zip)
md5sums=('8baa1bc8e0373683bcbc48bfb5804f8d') md5sums=('42c3dfce0e4e3db935eafbd401690d81')
build() {
cd $srcdir/$pkgname
mkdir -p bin
javac @compilerargs.txt
cd bin
jar cf hale.jar *
cp hale.jar ../
package() { package() {
cd $srcdir/$pkgname cd $srcdir/$pkgname
# Main. # Main.
install -Dm644 config.txt $pkgdir/usr/share/$pkgname/config.txt
install -Dm755 hale.sh $pkgdir/usr/share/$pkgname/hale.sh install -Dm755 hale.sh $pkgdir/usr/share/$pkgname/hale.sh
install -Dm755 hale.jar $pkgdir/usr/share/$pkgname/hale.jar install -Dm755 hale.jar $pkgdir/usr/share/$pkgname/hale.jar
install -Dm755 core.zip $pkgdir/usr/share/$pkgname/core.zip install -Dm755 core.zip $pkgdir/usr/share/$pkgname/core.zip
install -d $pkgdir/usr/share/$pkgname/saves install -d $pkgdir/usr/share/$pkgname/saves
install -d $pkgdir/usr/share/$pkgname/log install -d $pkgdir/usr/share/$pkgname/log
for FOLDER in gui characters campaigns lib
for FOLDER in gui characters campaigns docs
do do
cp -R $FOLDER $pkgdir/usr/share/$pkgname/ cp -R $FOLDER $pkgdir/usr/share/$pkgname/
done done
mkdir -p $pkgdir/usr/share/$pkgname/lib/native/linux
cp lib/*.jar $pkgdir/usr/share/$pkgname/lib/
if [[ $CARCH == "x86_64" ]]; then
for FILE in libjinput-linux liblwjgl libopenal
cp lib/native/linux/${FILE}${SUFFIX}.so $pkgdir/usr/share/$pkgname/lib/native/linux/
# Write permissions (not really safe…). # Write permissions (not really safe…).
chmod -R 666 \ chmod -R 666 \
$pkgdir/usr/share/$pkgname/campaigns \ $pkgdir/usr/share/$pkgname/campaigns \
...@@ -45,7 +67,7 @@ package() { ...@@ -45,7 +67,7 @@ package() {
chmod +x $pkgdir/usr/bin/$pkgname chmod +x $pkgdir/usr/bin/$pkgname
# Legal. # Legal.
install -Dm644 COPYING.txt $pkgdir/usr/share/licenses/$pkgname/license.txt install -d $pkgdir/usr/share/licenses/$pkgname
install -Dm644 copyright.txt $pkgdir/usr/share/licenses/$pkgname/authors.txt cp docs/* $pkgdir/usr/share/licenses/$pkgname/
install -Dm644 CONTRIBUTORS.txt $pkgdir/usr/share/licenses/$pkgname/authors-2.txt cp lib/*.txt $pkgdir/usr/share/licenses/$pkgname/
} }
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