summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Fettouhi2015-06-09 21:21:19 +0200
committerAndré Fettouhi2015-06-09 21:21:19 +0200
commita32e5a4594b246e1a7ec96c2ac4193c252a2df91 (patch)
treefb484790456e46da440c3eabed46dfa97daf89e9
downloadaur-a32e5a4594b246e1a7ec96c2ac4193c252a2df91.tar.gz
Initial import
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD25
-rw-r--r--gog-broken-sword-directors-cut4
3 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ba9cc5198e5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = gog-broken-sword-directors-cut
+ pkgdesc = Uncover the identity of a jester assassin. Unlock the legend of the Knights Templar. Unravel a plot as twisted as the catacombs you're about to prowl.
+ pkgver = 1.0.0.1
+ pkgrel = 1
+ url = http://www.gog.com/game/broken_sword_directors_cut
+ arch = i686
+ arch = x86_64
+ groups = games
+ license = custom
+ depends = libgl
+ depends = libx11
+ depends = libxext
+ depends = desktop-file-utils
+ source = local://gog_broken_sword_directors_cut_1.0.0.1.tar.gz
+ source = gog-broken-sword-directors-cut
+ sha256sums = ab29e847f81a3e217c34aaa70d68261e7a38e5b67861e4cbf1eea68f85f1b2e1
+ sha256sums = e2fd1fe6a3592c98d9d276bdcf11cb758102ab5159a47548f1d01bc5575e9d18
+
+pkgname = gog-broken-sword-directors-cut
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4b765caf321
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer : André Fettouhi <a.fettouhi@gmail.com>
+
+pkgname=gog-broken-sword-directors-cut
+pkgver=1.0.0.1
+pkgrel=1
+pkgdesc="Uncover the identity of a jester assassin. Unlock the legend of the Knights Templar. Unravel a plot as twisted as the catacombs you're about to prowl."
+arch=("i686" "x86_64")
+url="http://www.gog.com/game/broken_sword_directors_cut"
+license=("custom")
+groups=("games")
+source=("local://gog_broken_sword_directors_cut_${pkgver}.tar.gz" "gog-broken-sword-directors-cut")
+sha256sums=('ab29e847f81a3e217c34aaa70d68261e7a38e5b67861e4cbf1eea68f85f1b2e1'
+ 'e2fd1fe6a3592c98d9d276bdcf11cb758102ab5159a47548f1d01bc5575e9d18')
+depends=(libgl libx11 libxext desktop-file-utils)
+#options=('!strip')
+PKGEXT=.pkg.tar
+
+package() {
+ mkdir -p "${pkgdir}"/opt/gog/broken-sword-directors-cut
+ cp -r "${srcdir}"/Broken\ Sword\ Directors\ Cut/* "${pkgdir}"/opt/gog/broken-sword-directors-cut
+ install -Dm644 "${srcdir}"/Broken\ Sword\ Directors\ Cut/support/gog-broken-sword-directors-cut-primary.desktop "${pkgdir}"/usr/share/applications/gog-broken-sword-directors-cut.desktop
+ install -Dm644 "${srcdir}"/Broken\ Sword\ Directors\ Cut/support/gog-broken-sword-directors-cut.png "${pkgdir}"/usr/share/pixmaps/gog-broken-sword-directors-cut.png
+ install -Dm644 "${srcdir}"/Broken\ Sword\ Directors\ Cut/docs/End\ User\ License\ Agreement.txt "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+ install -Dm755 "${srcdir}/gog-broken-sword-directors-cut" "${pkgdir}/usr/bin/gog-broken-sword-directors-cut"
+}
diff --git a/gog-broken-sword-directors-cut b/gog-broken-sword-directors-cut
new file mode 100644
index 00000000000..0055ef55b2d
--- /dev/null
+++ b/gog-broken-sword-directors-cut
@@ -0,0 +1,4 @@
+#!/usr/bin/bash
+gogdir="/opt/gog/broken-sword-directors-cut"
+
+"$gogdir"/start.sh