diff options
author | Yannick Le Guen | 2015-06-09 19:23:10 +0200 |
---|---|---|
committer | Yannick Le Guen | 2015-06-09 19:23:10 +0200 |
commit | 8ffedb57c138bb21a9d555f219d42ee638b3dde1 (patch) | |
tree | 9290cd222d49b6c31e99d8973dae5b7609fcd8a4 | |
download | aur-8ffedb57c138bb21a9d555f219d42ee638b3dde1.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 19 | ||||
-rwxr-xr-x | PKGBUILD | 32 | ||||
-rwxr-xr-x | raceintospace.desktop | 9 | ||||
-rwxr-xr-x | raceintospace.install | 14 |
4 files changed, 74 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fbe79c79d8be --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = raceintospace + pkgdesc = The computer version of the Liftoff! board game by Fritz Bronner + pkgver = 1.1 + pkgrel = 2 + url = http://www.raceintospace.org/ + install = raceintospace.install + arch = i686 + arch = x86_64 + license = GPL2 + depends = sdl + depends = libvorbis + depends = libtheora + source = http://downloads.sourceforge.net/raceintospace/raceintospace-1.1.tar.gz + source = raceintospace.desktop + md5sums = 898fe3ba5c43f6e7b857f5df0093f7a6 + md5sums = 11ae024ebc4cf38b5753e351f99aee0d + +pkgname = raceintospace + diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..d252597ec153 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Spike29 <leguen.yannick@gmail.com> +# Contributor: erm67@yahoo.it + +pkgname='raceintospace' +pkgver='1.1' +pkgrel='2' +pkgdesc='The computer version of the Liftoff! board game by Fritz Bronner' +arch=('i686' 'x86_64') +url='http://www.raceintospace.org/' +license='GPL2' +depends=('sdl' 'libvorbis' 'libtheora') +install="$pkgname.install" +source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" + "$pkgname.desktop") +md5sums=('898fe3ba5c43f6e7b857f5df0093f7a6' + '11ae024ebc4cf38b5753e351f99aee0d') + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() +{ + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install + + # Install menu shortcut + install -Dm644 os_linux/$pkgname.xpm $pkgdir/usr/share/pixmaps/$pkgname.xpm + install -Dm644 ../$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop +} diff --git a/raceintospace.desktop b/raceintospace.desktop new file mode 100755 index 000000000000..5b493d22f25c --- /dev/null +++ b/raceintospace.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=Race Into Space +Comment=The computer version of the Liftoff! board game by Fritz Bronner +Exec=raceintospace +Icon=raceintospace.xpm +Terminal=false +Type=Application +Encoding=UTF-8 +Categories=Application;Game; diff --git a/raceintospace.install b/raceintospace.install new file mode 100755 index 000000000000..5f89c7470a25 --- /dev/null +++ b/raceintospace.install @@ -0,0 +1,14 @@ +post_install() { +update-desktop-database -q +cat << EOF +>>> NOTE: to exit the game go to Administration -> Time Capsule +EOF +} + +post_upgrade() { + update-desktop-database -q +} + +post_remove() { + post_upgrade +} |