summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD15
2 files changed, 7 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1a42d28ccf2..36b6714167d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mspinball-bin
pkgdesc = 3D Pinball - Space Cadet
pkgver = v1
- pkgrel = 1
+ pkgrel = 2
url = https://archive.org/details/SpaceCadet_Plus95
arch = x86_64
license = proprietary
diff --git a/PKGBUILD b/PKGBUILD
index 44746a6f38c..806244f4c96 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=mspinball-bin
pkgver=v1
depends=('wine')
makedepends=('unrar')
-pkgrel=1
+pkgrel=2
arch=(x86_64)
pkgdesc="3D Pinball - Space Cadet"
license=("proprietary")
@@ -17,14 +17,11 @@ sha256sums=("3cc5dfd914c2ac41b03f006c7ccbb59d6f9e4c32ecfd1906e718c8e47f130f4a")
prepare() {
unrar e -y Space_Cadet.rar
+ rm $srcdir/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"
+ install -D -m0755 $srcdir/../mspinball $pkgdir/usr/bin/mspinball
+ install -D -m0644 $srcdir/../mspinball.desktop $pkgdir/usr/share/applications/mspinball.desktop
+ mkdir -m755 -p $pkgdir/usr/share/mspinbal
+ cp -r $srcdir $pkgdir/usr/share/mspinball
}