summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormegadrivers2015-08-08 20:25:34 +0200
committermegadrivers2015-08-08 20:25:34 +0200
commit47ecdd0a8eab18b7722d074c225cbae1770dfcf9 (patch)
treec82eff86a522de7072af47979b14ffe7bdb13d16
downloadaur-47ecdd0a8eab18b7722d074c225cbae1770dfcf9.tar.gz
Initial import
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD46
-rw-r--r--gnurobbo.desktop8
3 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4cd2b1c6803
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = gnurobbo
+ pkgdesc = A reimplementation of Janusz Pelc's Robbo, originally for the Atari XE/XL
+ pkgver = 0.66
+ pkgrel = 4
+ url = http://gnurobbo.sourceforge.net/
+ arch = i686
+ arch = x86_64
+ license = GPL2,
+ license = Custom
+ depends = sdl_ttf
+ depends = sdl_mixer
+ depends = sdl_image
+ source = http://downloads.sourceforge.net/gnurobbo/gnurobbo-0.66-source.tar.gz
+ source = gnurobbo.desktop
+ md5sums = 77fdf9a186a08c1f95b94bd35ebbc21c
+ md5sums = e520a3c136854383627d1d960a41f8b2
+
+pkgname = gnurobbo
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e9a03042385
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: megadriver <megadriver at gmx dot com>
+# Contributor: Christoph Zeiler <moonblade.dot.org: arch>
+# Contributor: Jesse Jaara <gmail.com: jesse.jaara>
+
+pkgname=gnurobbo
+pkgver=0.66
+pkgrel=4
+pkgdesc="A reimplementation of Janusz Pelc's Robbo, originally for the Atari XE/XL"
+arch=('i686' 'x86_64')
+url="http://gnurobbo.sourceforge.net/"
+license=('GPL2', 'Custom')
+depends=('sdl_ttf' 'sdl_mixer' 'sdl_image')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-source.tar.gz"
+ "${pkgname}.desktop")
+md5sums=('77fdf9a186a08c1f95b94bd35ebbc21c'
+ 'e520a3c136854383627d1d960a41f8b2')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ sed -e 's|#MUSIC=-DHAVE_MUSIC|MUSIC=-DHAVE_MUSIC|g' \
+ -e 's|=-O3 -pipe -Wall -fomit-frame-pointer|+=|g' \
+ -e 's|-lSDL_image|-lm -lSDL_image|g' \
+ -i Makefile
+
+ sed '/#define DEBUG_DUMP_VM_USAGE/d' -i game.c
+
+ make PACKAGE_DATA_DIR="/usr/share/${pkgname}"
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make PACKAGE_DATA_DIR="${pkgdir}/usr/share/${pkgname}" BINDIR="${pkgdir}/usr/bin" DOCDIR="${pkgdir}/usr/share/doc/${pkgname}" install
+
+ mkdir "${pkgdir}/usr/share/gnurobbo/music"
+
+ install -m644 ChangeLog COPYING README "${pkgdir}/usr/share/doc/${pkgname}/"
+ install -Dm644 icon32.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+ install -Dm644 ../${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+
+ mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
+ cd "${pkgdir}/usr/share/doc/${pkgname}"
+ mv LICENSE-* "${pkgdir}/usr/share/licenses/${pkgname}/"
+}
+
diff --git a/gnurobbo.desktop b/gnurobbo.desktop
new file mode 100644
index 00000000000..c98710093f9
--- /dev/null
+++ b/gnurobbo.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Comment=Logic game
+Exec=gnurobbo
+Icon=gnurobbo
+Type=Application
+Name=GNURobbo
+GenericName=GNURobbo
+Categories=Game;ActionGame;LogicGame;