summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlucas593562019-01-10 10:39:37 -0200
committerlucas593562019-01-10 10:39:37 -0200
commit9e5e1f9808b0ade5fd41d79ab274cb811f996d48 (patch)
tree109aebcaa8f0d0f68b19f386cab5876f7aeabadc
downloadaur-9e5e1f9808b0ade5fd41d79ab274cb811f996d48.tar.gz
Now working
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD30
-rw-r--r--mspinball4
-rw-r--r--mspinball.desktop4
4 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1a42d28ccf2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = mspinball-bin
+ pkgdesc = 3D Pinball - Space Cadet
+ pkgver = v1
+ pkgrel = 1
+ url = https://archive.org/details/SpaceCadet_Plus95
+ arch = x86_64
+ license = proprietary
+ makedepends = unrar
+ depends = wine
+ noextract = Space_Cadet.rar
+ options = !strip
+ source = https://archive.org/download/SpaceCadet_Plus95/Space_Cadet.rar
+ sha256sums = 3cc5dfd914c2ac41b03f006c7ccbb59d6f9e4c32ecfd1906e718c8e47f130f4a
+
+pkgname = mspinball-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..44746a6f38c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer:Lucas Eduardo Wendt <lucas59356@gmail.com>
+
+pkgname=mspinball-bin
+pkgver=v1
+depends=('wine')
+makedepends=('unrar')
+pkgrel=1
+arch=(x86_64)
+pkgdesc="3D Pinball - Space Cadet"
+license=("proprietary")
+options=(!strip)
+noextract=('Space_Cadet.rar')
+url="https://archive.org/details/SpaceCadet_Plus95"
+source=('https://archive.org/download/SpaceCadet_Plus95/Space_Cadet.rar')
+
+sha256sums=("3cc5dfd914c2ac41b03f006c7ccbb59d6f9e4c32ecfd1906e718c8e47f130f4a")
+
+prepare() {
+ unrar e -y Space_Cadet.rar
+}
+package() {
+ _DESTINATION="$pkgdir/usr/share/mspinball"
+ mkdir -p $_DESTINATION
+ mkdir -p $pkgdir/usr/bin
+ cp "$srcdir/../mspinball" $pkgdir/usr/bin/
+ rm $srcdir/Space_Cadet.rar
+ cp -r $srcdir/* $_DESTINATION
+ mkdir -p "$pkgdir/usr/share/applications/"
+ cp "$srcdir/../mspinball.desktop" "$pkgdir/usr/share/applications"
+}
diff --git a/mspinball b/mspinball
new file mode 100644
index 00000000000..8dc30d7376b
--- /dev/null
+++ b/mspinball
@@ -0,0 +1,4 @@
+#! /usr/bin/env sh
+wine /usr/share/mspinball/PINBALL.exe > /dev/null 2> /dev/null
+# Waits pinball to close
+wineserver -w
diff --git a/mspinball.desktop b/mspinball.desktop
new file mode 100644
index 00000000000..23de9e921ce
--- /dev/null
+++ b/mspinball.desktop
@@ -0,0 +1,4 @@
+[Desktop Entry]
+Name=3D Pinball - Space Cadet
+Exec=/usr/bin/mspinball
+