summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rwxr-xr-xPKGBUILD34
-rwxr-xr-xorthorobot.sh4
3 files changed, 26 insertions, 30 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 83381016181..87c37716d9f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,22 @@
# Generated by mksrcinfo v8
-# Wed Mar 22 09:36:17 UTC 2017
+# Wed Mar 22 10:19:44 UTC 2017
pkgbase = orthorobot
pkgdesc = Perspective based puzzle game, where you flatten the view to move across gaps.
- pkgver = 1.0
- pkgrel = 5
+ pkgver = 1.1.1
+ pkgrel = 1
url = http://stabyourself.net/orthorobot/
arch = i686
arch = x86_64
- license = GPL
- makedepends = unzip
- depends = love07
- source = http://stabyourself.net/dl.php?file=orthorobot/orthorobot-linux.zip
+ license = WTFPL
+ makedepends = zip
+ depends = love
+ source = https://github.com/Stabyourself/orthorobot/archive/v1.1.1.tar.gz
source = http://stabyourself.net/images/site/banner-orthorobot.png
source = orthorobot.sh
source = orthorobot.desktop
- md5sums = 3ba42cd5058660d6750cdbcb3cf477df
+ md5sums = 36f0b2e8cb8cd1e5770bfb84e4e77eaf
md5sums = 357045580e02e973b0c9ae10399657d5
- md5sums = 4b43b2f28fe7af330b78152131fc8772
+ md5sums = 812e34d73ee0405f1fff5568b2565d89
md5sums = d9d6a95c1382beb2ec3e75d85206eadb
pkgname = orthorobot
diff --git a/PKGBUILD b/PKGBUILD
index 3a78f3a6b8e..734b9b59ccd 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,36 +2,32 @@
# Maintainer: SanskritFritz (gmail)
pkgname=orthorobot
-pkgver=1.0
-pkgrel=5
+pkgver=1.1.1
+pkgrel=1
pkgdesc='Perspective based puzzle game, where you flatten the view to move across gaps.'
arch=('i686' 'x86_64')
url="http://stabyourself.net/orthorobot/"
-license=('GPL')
-depends=('love07')
-makedepends=('unzip')
-_gamepkg=${pkgname}-linux.zip
-source=("http://stabyourself.net/dl.php?file=orthorobot/orthorobot-linux.zip"
+license=('WTFPL')
+depends=('love')
+makedepends=('zip')
+source=("https://github.com/Stabyourself/orthorobot/archive/v$pkgver.tar.gz"
"http://stabyourself.net/images/site/banner-orthorobot.png"
"$pkgname.sh"
"$pkgname.desktop")
-md5sums=('3ba42cd5058660d6750cdbcb3cf477df'
+md5sums=('36f0b2e8cb8cd1e5770bfb84e4e77eaf'
'357045580e02e973b0c9ae10399657d5'
- '4b43b2f28fe7af330b78152131fc8772'
+ '812e34d73ee0405f1fff5568b2565d89'
'd9d6a95c1382beb2ec3e75d85206eadb')
package() {
- cd "$srcdir"
+ cd "$srcdir/$pkgname-$pkgver"
- unzip -o "$srcdir/$_gamepkg" -d "$srcdir/$pkgname"
+ zip --recurse-paths "$pkgname.love" .
+ install -Dm644 "$pkgname.love" "$pkgdir/usr/share/$pkgname/$pkgname.love"
- # Start file
- install -Dm755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
+ cd "$srcdir"
+ install -Dm755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
- # Executable
- install -Dm644 "$pkgname/Ortho Robot.love" "$pkgdir/usr/share/games/$pkgname/$pkgname.love"
-
- # Desktop icon
- install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
- install -Dm644 "banner-orthorobot.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
+ install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm644 "banner-orthorobot.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
}
diff --git a/orthorobot.sh b/orthorobot.sh
index 576cb18bee7..e42f4d64579 100755
--- a/orthorobot.sh
+++ b/orthorobot.sh
@@ -1,3 +1,3 @@
#!/bin/sh
-cd /usr/share/games/orthorobot
-love07 ./orthorobot.love
+cd /usr/share/orthorobot
+love ./orthorobot.love