summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Theodorou2018-10-07 17:05:28 +0000
committerAngelo Theodorou2018-10-07 17:06:43 +0000
commitd9f71baf0a407921f0318a71966a81e2cca1ef31 (patch)
tree985b18b924ee538c57ed564e3e45bceed5e1ca99
parent54e3d96702d8f38f18007a9b27efb808412eec59 (diff)
downloadaur-d9f71baf0a407921f0318a71966a81e2cca1ef31.tar.gz
Update to 1.9.5.2
- Modify to use data package included with GitHub release
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD28
-rw-r--r--eternallands.changelog6
3 files changed, 22 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2fab9892cf8..86f148a1c3d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = eternallands
pkgdesc = A free 3D MMORPG game with thousands of on-line players
- pkgver = 1.9.4
+ pkgver = 1.9.5.2
pkgrel = 1
url = http://www.eternal-lands.com/
changelog = eternallands.changelog
@@ -18,8 +18,8 @@ pkgbase = eternallands
depends = glu
optdepends = zenity: to use the launch script
options = !emptydirs
- source = http://www.eternal-lands.com/el_linux_installer_194.sh
- md5sums = 46962fe07907fd5ebcd030d4ebebbacd
+ source = https://github.com/raduprv/Eternal-Lands/releases/download/1.9.5.2/el_195_1_data_files.zip
+ md5sums = e42ebe628e704c8f7e0b21e3340f475d
pkgname = eternallands
diff --git a/PKGBUILD b/PKGBUILD
index 895730d4562..382d22bcc3b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
# Contributor: Angelo Theodorou <encelo@users.sourceforge.net>
pkgname=eternallands
-pkgver=1.9.4
+pkgver=1.9.5.2
pkgrel=1
pkgdesc="A free 3D MMORPG game with thousands of on-line players"
arch=('i686' 'x86_64')
@@ -16,8 +16,8 @@ makedepends=('gzip' 'git')
optdepends=('zenity: to use the launch script')
options=('!emptydirs')
changelog=eternallands.changelog
-source=('http://www.eternal-lands.com/el_linux_installer_194.sh')
-md5sums=('46962fe07907fd5ebcd030d4ebebbacd')
+source=('https://github.com/raduprv/Eternal-Lands/releases/download/1.9.5.2/el_195_1_data_files.zip')
+md5sums=('e42ebe628e704c8f7e0b21e3340f475d')
build()
{
@@ -41,14 +41,13 @@ build()
rm -rf "$srcdir/$_gitname-build"
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"
- git checkout 1.9.4.1
+ git checkout 1.9.5.2
- make -f Makefile.linux gen_git_version
- sed -i "s|#data_dir = \"c:\\\Program Files\\\Eternal Lands\\\\\"|#data_dir = /usr/share/eternallands|" el.ini
sed -i "s|/usr/games/|/usr/bin/|" pkgfiles/eternallands
sed -i "s|/usr/share/games/EternalLands/|/usr/share/eternallands/|" pkgfiles/eternallands
sed -i "s|#data_dir = /usr/share/games/EternalLands|#data_dir = /usr/share/eternallands|" pkgfiles/eternallands
sed -i "s|#data_dir = \\\/usr\\\/share\\\/games\\\/EternalLands|#data_dir = \\\/usr\\\/share\\\/eternallands|" pkgfiles/eternallands
+ rm -f gen_git_version
make -f Makefile.linux release
}
@@ -61,7 +60,7 @@ package() {
mkdir -p "${pkgdir}/usr/share/applications"
mkdir -p "${pkgdir}/usr/share/licenses/eternallands/"
mkdir -p "${pkgdir}/usr/share/eternallands"
-
+
install -m755 elc-build/el.x86.linux.bin "${pkgdir}/usr/bin/"
install -m755 elc-build/pkgfiles/eternallands "${pkgdir}/usr/bin/"
install -m644 elc-build/pkgfiles/eternallands.6 "${pkgdir}/usr/share/man/man6"
@@ -71,20 +70,19 @@ package() {
install -m644 elc-build/pkgfiles/eternallands.desktop "${pkgdir}/usr/share/applications"
install -m644 elc-build/eternal_lands_license.txt "${pkgdir}/usr/share/licenses/eternallands/"
- sh el_linux_installer_194.sh --noexec --target el_linux_installer_194
- cd el_linux_installer_194
- mkdir -p subarch_uncompressed && tar --lzma -xvpf subarch -C subarch_uncompressed
- cd subarch_uncompressed
- mkdir -p instarchive_uncompressed && tar --lzma -xvpf instarchive_all -C instarchive_uncompressed
- cd instarchive_uncompressed
+ unzip -d instarchive_uncompressed el_195_1_data_files.zip
+ cd instarchive_uncompressed/el_data
# Compress textures and maps
find \( -name *.bmp -or -name *.elm \) -exec gzip -f {} \;
for dir in 2dobjects 3dobjects actor_defs animations languages maps meshes particles shaders skeletons skybox textures; do
- cp -R ${dir} "${pkgdir}/usr/share/eternallands/"
+ cp -R ${dir} "${pkgdir}/usr/share/eternallands/"
done
-
+
+ sed -i "s|^#data_dir = \"c:\\\Program Files\\\Eternal Lands\\\\\"|#data_dir = /usr/share/eternallands|" el.ini
+ sed -i "s|^#use_new_selection.*$|#use_new_selection = 1|g" el.ini
+
for file in *.ini *.txt *.lst *.xml; do
install -m644 ${file} "${pkgdir}/usr/share/eternallands/"
done
diff --git a/eternallands.changelog b/eternallands.changelog
index 79f154629c6..29dc7f46c52 100644
--- a/eternallands.changelog
+++ b/eternallands.changelog
@@ -1,3 +1,9 @@
+2018-08-05 Paul Broadhead <pjbroad@twinmoons.org.uk>
+
+ * PKGBUILD
+ Updated to client 1.9.5 build 2
+ Modified to use data package included with GitHub release
+
2015-08-23 Angelo "Encelo" Theodorou <encelo@users.sourceforge.net>
* PKGBUILD :