summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD41
-rw-r--r--mirrormagic.desktop9
-rw-r--r--mirrormagic.sh4
4 files changed, 75 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0d4a3e79c8b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+# Generated by mksrcinfo v8
+# Thu May 5 18:49:13 UTC 2016
+pkgbase = mirrormagic-bin
+ pkgdesc = Arcade style game like Deflektor (C64) or Mindbender (Amiga).
+ pkgver = 2.0.2
+ pkgrel = 1
+ url = http://www.artsoft.org/mirrormagic/
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ depends = sdl_image
+ depends = sdl_mixer
+ source = http://www.artsoft.org/RELEASES/unix/mirrormagic/mirrormagic-2.0.2.tar.gz
+ source = mirrormagic.sh
+ source = mirrormagic.desktop
+ md5sums = 32fd3909c1e27f493d89bc2276da6744
+ md5sums = 7ba2849d0c79415dabc3068ca9d7b5ba
+ md5sums = 64ebdbe659a2fd5efd3979350cf9bbec
+
+pkgname = mirrormagic-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..de1eff67e94
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Contributor: Simon Bachmann <simonbachmann@freesurf.ch>
+# Maintainer: Anton Larionov <diffident dot cat at gmail dot com>
+# Maintainer: SanskritFritz (gmail)
+
+pkgname=mirrormagic-bin
+_pkgname=mirrormagic
+pkgver=2.0.2
+pkgrel=1
+pkgdesc="Arcade style game like Deflektor (C64) or Mindbender (Amiga)."
+arch=('i686' 'x86_64')
+url="http://www.artsoft.org/mirrormagic/"
+license=('GPL2')
+depends=('sdl_image' 'sdl_mixer')
+
+source=("http://www.artsoft.org/RELEASES/unix/mirrormagic/$_pkgname-$pkgver.tar.gz"
+ "$_pkgname.sh"
+ "mirrormagic.desktop")
+
+md5sums=('32fd3909c1e27f493d89bc2276da6744'
+ '7ba2849d0c79415dabc3068ca9d7b5ba'
+ '64ebdbe659a2fd5efd3979350cf9bbec')
+
+package() {
+ cd "$_pkgname-$pkgver"
+
+ # copy main files
+ install -dm755 "$pkgdir/usr/share/$_pkgname"
+ cp -r * "$pkgdir/usr/share/$_pkgname"
+
+ install -D -m755 "$srcdir/$_pkgname.sh" "$pkgdir/usr/bin/$_pkgname"
+
+ # install desktop entry file
+ install -D -m644 "$srcdir/$_pkgname.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop"
+
+ # fix permissions
+ cd "$pkgdir/usr/share/$_pkgname/"
+ find . -type f -exec chmod 644 {} \;
+ chmod 755 $_pkgname
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/mirrormagic.desktop b/mirrormagic.desktop
new file mode 100644
index 00000000000..1a2dbe6ab11
--- /dev/null
+++ b/mirrormagic.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Version=2.0.2
+Name=Mirror Magic
+Comment=A game with a magic ray and many, many mirrors...
+Exec=mirrormagic
+Terminal=false
+Categories=Application;Game;
+Icon=/usr/share/mirrormagic/graphics/mirrormagic_icon.xbm
diff --git a/mirrormagic.sh b/mirrormagic.sh
new file mode 100644
index 00000000000..93d77554468
--- /dev/null
+++ b/mirrormagic.sh
@@ -0,0 +1,4 @@
+#!/usr/bin/bash
+
+cd /usr/share/mirrormagic
+./mirrormagic