summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlashbunny2010-09-02 20:34:57 -0400
committerSlashbunny2010-09-02 20:34:57 -0400
commit273b0960e1f613c8a4dca361472600c301e65c59 (patch)
tree46e00bc7f4101059f1e923fcee939d3275b08aa1
parent6b9ddb04e9a8e57e7b0b98a4bdbbe73424c95410 (diff)
downloadaur-273b0960e1f613c8a4dca361472600c301e65c59.tar.gz
Prevent makepkg failure after unzip because of exit code
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1268091a6e0b..d9ec135e1168 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = savage2
pkgdesc = Savage 2: A Tortured Soul is an fantasy themed online multiplayer team-based FPS/RTS/RPG hybrid. Completely free as of December 2008.
pkgver = 2.1.0.1
- pkgrel = 2
+ pkgrel = 3
url = http://savage2.com/
install = savage2.install
arch = i686
@@ -10,7 +10,7 @@ pkgbase = savage2
makedepends = unzip
depends = mesa
depends = libxml2
- source = http://dl.heroesofnewerth.com/Savage2Install-2.1.0.1-.bin
+ source = http://see.aur.thread/Savage2Install-2.1.0.1-.bin
source = savage2.launcher
source = savage2.desktop
source = s2editor.desktop
diff --git a/PKGBUILD b/PKGBUILD
index d10ea0d64819..3156017c389b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=savage2
pkgver=2.1.0.1
-pkgrel=2
+pkgrel=3
pkgdesc="Savage 2: A Tortured Soul is an fantasy themed online multiplayer team-based FPS/RTS/RPG hybrid. Completely free as of December 2008."
arch=('i686' 'x86_64')
url='http://savage2.com/'
@@ -12,7 +12,7 @@ license=('custom: "Savage 2"')
depends=('mesa' 'libxml2')
makedepends=('unzip')
install=savage2.install
-source=("http://dl.heroesofnewerth.com/Savage2Install-$pkgver-$CARCH.bin" \
+source=("http://see.aur.thread/Savage2Install-$pkgver-$CARCH.bin" \
'savage2.launcher' 'savage2.desktop' 's2editor.desktop' 's2mviewer.desktop')
md5sums=('1ff815b9e864862d6d2cf6c635278b80'
'fb03853628775f66689852a4125044e8'
@@ -28,10 +28,10 @@ build() {
install -d $pkgdir/opt/savage2
# Extract Game Data from Installer
- unzip -o $srcdir/Savage2Install-$pkgver-$CARCH.bin
+ unzip -o $srcdir/Savage2Install-$pkgver-$CARCH.bin && return 0
# Install Savage 2 Data
- cp -r $srcdir/data/* $pkgdir/opt/savage2
+ cp -r $srcdir/data/* $pkgdir/opt/savage2
# Install Game Launcher
install -D -m 755 $srcdir/savage2.launcher \