summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Fettouhi2015-06-09 21:18:38 +0200
committerAndré Fettouhi2015-06-09 21:18:38 +0200
commit8106bb8a64d0498e73495746c8091b35d4c55941 (patch)
treec957aed8eee5da6502a48507c3c4ddc2e0cb7012
downloadaur-8106bb8a64d0498e73495746c8091b35d4c55941.tar.gz
Initial import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD25
-rw-r--r--gog-beneath-a-steel-sky8
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..039e1eff85d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = gog-beneath-a-steel-sky
+ pkgdesc = All man's social problems are coming to a boil. Under the claustrophobic lid of a steel sky.
+ pkgver = 1.0.0.2
+ pkgrel = 1
+ url = http://www.gog.com/game/beneath_a_steel_sky
+ arch = i686
+ arch = x86_64
+ groups = games
+ license = custom
+ depends = freetype2
+ depends = unionfs-fuse
+ source = local://gog_beneath_a_steel_sky_1.0.0.2.tar.gz
+ source = gog-beneath-a-steel-sky
+ sha256sums = bc309545a368e94abeb48a58d322f2ae578d23943dd027e90dd5057b32af317f
+ sha256sums = 71c9b6d850c92c637cd44a502de8db01498e88af9829125f7fb9097b4575d60b
+
+pkgname = gog-beneath-a-steel-sky
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1ccacfa9958
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer : André Fettouhi <a.fettouhi@gmail.com>
+
+pkgname=gog-beneath-a-steel-sky
+pkgver=1.0.0.2
+pkgrel=1
+pkgdesc="All man's social problems are coming to a boil. Under the claustrophobic lid of a steel sky. "
+arch=("i686" "x86_64")
+url="http://www.gog.com/game/beneath_a_steel_sky"
+license=("custom")
+groups=("games")
+source=("local://gog_beneath_a_steel_sky_${pkgver}.tar.gz" "gog-beneath-a-steel-sky")
+sha256sums=('bc309545a368e94abeb48a58d322f2ae578d23943dd027e90dd5057b32af317f'
+ '71c9b6d850c92c637cd44a502de8db01498e88af9829125f7fb9097b4575d60b')
+depends=(freetype2 unionfs-fuse)
+#options=('!strip')
+PKGEXT=.pkg.tar
+
+package() {
+ mkdir -p "${pkgdir}"/opt/gog/beneath-a-steel-sky
+ cp -r "${srcdir}"/Beneath\ A\ Steel\ Sky/* "${pkgdir}"/opt/gog/beneath-a-steel-sky
+ install -Dm644 "${srcdir}"/Beneath\ A\ Steel\ Sky/support/gog-beneath-a-steel-sky-primary.desktop "${pkgdir}"/usr/share/applications/gog-beneath-a-steel-sky.desktop
+ install -Dm644 "${srcdir}"/Beneath\ A\ Steel\ Sky/support/gog-beneath-a-steel-sky.png "${pkgdir}"/usr/share/pixmaps/gog-beneath-a-steel-sky.png
+ install -Dm644 "${srcdir}"/Beneath\ A\ Steel\ Sky/docs/End\ User\ License\ Agreement.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+ install -Dm755 "${srcdir}/gog-beneath-a-steel-sky" "${pkgdir}/usr/bin/gog-beneath-a-steel-sky"
+}
diff --git a/gog-beneath-a-steel-sky b/gog-beneath-a-steel-sky
new file mode 100644
index 00000000000..d9c7e59753d
--- /dev/null
+++ b/gog-beneath-a-steel-sky
@@ -0,0 +1,8 @@
+#!/usr/bin/bash
+gogdir="/opt/gog/beneath-a-steel-sky"
+homedir="$HOME/.gog/beneath-a-steel-sky"
+mkdir -p "$homedir"/{game,config/data}
+
+unionfs "$homedir/config=RW:$gogdir=RO" "$homedir/game"
+"$homedir"/game/start.sh
+fusermount -u "$homedir/game"