[Frugalware-git] frugalware-current: xrick-021212-1-i686

Cedynamix cedynamix at gmail.com
Mon Aug 23 23:12:06 CEST 2010


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=33b2979fc3c2e786f09b77bf2e0b675c4d135ba7

commit 33b2979fc3c2e786f09b77bf2e0b675c4d135ba7
Author: Cedynamix <cedynamix at gmail.com>
Date:   Mon Aug 23 23:13:29 2010 +0200

xrick-021212-1-i686

* new package

diff --git a/source/games-extra/xrick/FrugalBuild b/source/games-extra/xrick/FrugalBuild
new file mode 100644
index 0000000..67d09ef
--- /dev/null
+++ b/source/games-extra/xrick/FrugalBuild
@@ -0,0 +1,36 @@
+# Compiling time: 0 SBU
+# Maintainer: Cedrick Hannier alias Cedynamix <cedynamix at gmail.com>
+
+pkgname=xrick
+pkgver=021212
+pkgrel=1
+pkgdesc='xrick is a clone of Rick Dangerous'
+archs=('i686' 'x86_64')
+url="http://www.bigorno.net/xrick"
+groups=('games-extra')
+depends=('sdl' 'zlib')
+makedepends=('imagemagick' 'unzip')
+up2date=" lynx -dump http://www.bigorno.net/xrick/download.html | grep 'source code + data' | Flasttar"
+source=("http://www.bigorno.net/xrick/$pkgname-$pkgver.zip" \
+	"xrick.sh")
+sha1sums=('6b648f2ec5b0f4fd74dd45edc3b64db751a0db3e' \
+	'ded63448432f73f37d3c15e38ac6c45a6753507d')
+
+_F_desktop_name="xrick"
+_F_desktop_desc="Rick Dangerous game clone"
+_F_desktop_icon="xrick.png"
+_F_desktop_exec="/usr/bin/xrick"
+_F_desktop_categories="Application;Game;ArcadeGame;"
+
+build() {
+	Fcd
+	Fmake
+	Finstall 755 $pkgname-$pkgver/xrick /usr/share/xrick/xrick
+	Finstall 755 xrick.sh /usr/bin/xrick
+	Finstall 644 $pkgname-$pkgver/{data.zip,KeyCodes} /usr/share/xrick/
+	Finstall 644 $pkgname-$pkgver/xrick.6.gz /usr/man/man6/xrick.6.gz
+	convert src/xrickST.ico xrick.png || Fdie
+	Ficon $pkgname-$pkgver/xrick.png
+	Fdesktop2
+}
+
diff --git a/source/games-extra/xrick/xrick.sh b/source/games-extra/xrick/xrick.sh
new file mode 100644
index 0000000..43d3246
--- /dev/null
+++ b/source/games-extra/xrick/xrick.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec /usr/share/xrick/xrick -data /usr/share/xrick/data.zip "$@"
+


More information about the Frugalware-git mailing list