summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD22
2 files changed, 15 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 16b444f60ee..0716b1ab8e7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,16 @@
pkgbase = scavenger
pkgdesc = 2D arcade/thinking game like Lode Runner (SDL version)
- pkgver = 145.1
- pkgrel = 2
- url = http://www.xdr.com/dash/scavenger.html
+ pkgver = 145.4
+ pkgrel = 1
+ url = http://www.linuxmotors.com/scavenger/
arch = i686
arch = x86_64
license = GPL
depends = sdl
- source = http://downloads.sourceforge.net/sdlscavenger/sdlscav-145.1_2010_11_5.tgz
+ source = http://downloads.sourceforge.net/sdlscavenger/sdlscav-145.4_2015_01_05.tgz
source = scavenger.desktop
source = scavenger-fs.desktop
- sha256sums = c63666c0783d05b24895065781608994c43e4b359605be6806845b46f093d016
+ sha256sums = 28337a4e43756048a6d53994fcdcba6af4c9a68568d734ea774189713c4d67fe
sha256sums = 676a680f256138391bd11a18a6f40499ecf8113cd1345621ed429f612c9e1c7a
sha256sums = c376b2cfc6e6a621ddb871fd4d5a26f6a1c758362eb9feda1effcf898db0f73e
diff --git a/PKGBUILD b/PKGBUILD
index e487a41bd47..5c8f88a87cd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,19 @@
-# Maintainer: carstene1ns <arch carsten-teibes de>
+# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
pkgname=scavenger
-pkgver=145.1
-pkgrel=2
+pkgver=145.4
+pkgrel=1
pkgdesc="2D arcade/thinking game like Lode Runner (SDL version)"
arch=('i686' 'x86_64')
-url="http://www.xdr.com/dash/scavenger.html"
+url="http://www.linuxmotors.com/scavenger/"
license=('GPL')
depends=('sdl')
-source=("http://downloads.sourceforge.net/sdlscavenger/sdlscav-${pkgver}_2010_11_5.tgz"
+source=("http://downloads.sourceforge.net/sdlscavenger/sdlscav-${pkgver}_2015_01_05.tgz"
"$pkgname.desktop"
"$pkgname-fs.desktop")
-sha256sums=('c63666c0783d05b24895065781608994c43e4b359605be6806845b46f093d016'
+sha256sums=('28337a4e43756048a6d53994fcdcba6af4c9a68568d734ea774189713c4d67fe'
'676a680f256138391bd11a18a6f40499ecf8113cd1345621ed429f612c9e1c7a'
'c376b2cfc6e6a621ddb871fd4d5a26f6a1c758362eb9feda1effcf898db0f73e')
@@ -21,17 +21,15 @@ prepare() {
cd sdlscav-145
# add our cflags
- sed -i "s|-O2|${CFLAGS}|" Makefile
+ sed "s|-O2|${CFLAGS}|" -i Makefile
# delete lines touching our home directory
- sed -i "8,9d" Makefile
+ sed '/HOME/d' -i Makefile
# set data path
- sed -i "s|/usr/local/games|/usr/share|" names.h
+ sed "s|/usr/local/games|/usr/share|" -i names.h
}
build() {
- cd sdlscav-145
-
- make
+ make -C sdlscav-145
}
package() {