summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSlashbunny2010-09-02 20:34:57 -0400
committerSlashbunny2010-09-02 20:34:57 -0400
commit273b0960e1f613c8a4dca361472600c301e65c59 (patch)
tree46e00bc7f4101059f1e923fcee939d3275b08aa1 /PKGBUILD
parent6b9ddb04e9a8e57e7b0b98a4bdbbe73424c95410 (diff)
downloadaur-273b0960e1f613c8a4dca361472600c301e65c59.tar.gz
Prevent makepkg failure after unzip because of exit code
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d10ea0d6481..3156017c389 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 \