[add] scavenger 145.1

This commit is contained in:
Carsten Teibes 2013-12-03 02:55:17 +01:00
commit 0cbf7eee79
4 changed files with 85 additions and 0 deletions

18
.SRCINFO Normal file
View file

@ -0,0 +1,18 @@
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
arch = i686
arch = x86_64
license = GPL
depends = sdl
source = http://downloads.sourceforge.net/sdlscavenger/sdlscav-145.1_2010_11_5.tgz
source = scavenger.desktop
source = scavenger-fs.desktop
md5sums = 995dc8b6b1792e1c2c9ec253bcfafbfe
md5sums = SKIP
md5sums = SKIP
pkgname = scavenger

49
PKGBUILD Normal file
View file

@ -0,0 +1,49 @@
# Maintainer: carstene1ns <arch carsten-teibes de>
# Contributor: Anton Bazhenov <anton.bazhenov at gmail>
# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
pkgname=scavenger
pkgver=145.1
pkgrel=2
pkgdesc="2D arcade/thinking game like Lode Runner (SDL version)"
arch=('i686' 'x86_64')
url="http://www.xdr.com/dash/scavenger.html"
license=('GPL')
depends=('sdl')
source=("http://downloads.sourceforge.net/sdlscavenger/sdlscav-${pkgver}_2010_11_5.tgz"
"$pkgname.desktop"
"$pkgname-fs.desktop")
md5sums=('995dc8b6b1792e1c2c9ec253bcfafbfe'
'SKIP'
'SKIP')
prepare() {
cd sdlscav-145
# add our cflags
sed -i "s|-O2|${CFLAGS}|" Makefile
# delete lines touching our home directory
sed -i "8,9d" Makefile
# set data path
sed -i "s|/usr/local/games|/usr/share|" names.h
}
build() {
cd sdlscav-145
make
}
package() {
cd sdlscav-145
# install game files
install -d $pkgdir/usr/share/$pkgname/rc
install -m644 data/*rc $pkgdir/usr/share/$pkgname/rc
install -m644 data/*.{lbm,scl,wav} $pkgdir/usr/share/$pkgname
install -Dm755 sdlscav $pkgdir/usr/bin/$pkgname
# install the pixmap and desktop file
install -Dm644 data/scav.png $pkgdir/usr/share/pixmaps/$pkgname.png
install -Dm644 ../$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
}

9
scavenger-fs.desktop Normal file
View file

@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Version=1.0
Name=Scavenger (Fullscreen)
Comment=Fun 2D arcade/thinking game very much like Lode Runner
Exec=scavenger
Icon=scavenger
Terminal=false
Categories=Game;ArcadeGame;

9
scavenger.desktop Normal file
View file

@ -0,0 +1,9 @@
[Desktop Entry]
Type=Application
Version=1.0
Name=Scavenger
Comment=Fun 2D arcade/thinking game very much like Lode Runner
Exec=scavenger -w
Icon=scavenger
Terminal=false
Categories=Game;ArcadeGame;