summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD41
-rw-r--r--the-entertainment.desktop8
-rw-r--r--the-entertainment.pngbin0 -> 82535 bytes
4 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..87b8e30370d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = the-entertainment
+ pkgdesc = The Entertainment - Kentucky Route Zero
+ pkgver = 1
+ pkgrel = 1
+ url = http://kentuckyroutezero.com/the-entertainment/
+ arch = i686
+ arch = x86_64
+ license = custom
+ depends = libgl
+ source = http://kentuckyroutezero.com/the-entertainment/TheEntertainment_Linux.zip
+ source = the-entertainment.desktop
+ source = the-entertainment.png
+ md5sums = 025c9455b1501ab029c979c22c0a4d45
+ md5sums = ea2aaac64fb39dc1bd7b843447d15a1a
+ md5sums = 0419c3664dfb775393b30459d6d2d0a8
+
+pkgname = the-entertainment
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..20154b6ea0b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Can Celasun <dcelasun[at]gmail[dot]com>
+pkgname=the-entertainment
+pkgver=1
+pkgrel=1
+pkgdesc="The Entertainment - Kentucky Route Zero"
+arch=(i686 x86_64)
+url="http://kentuckyroutezero.com/the-entertainment/"
+license=('custom')
+depends=(libgl)
+source=(http://kentuckyroutezero.com/the-entertainment/TheEntertainment_Linux.zip
+ the-entertainment.desktop
+ the-entertainment.png)
+md5sums=('025c9455b1501ab029c979c22c0a4d45'
+ 'ea2aaac64fb39dc1bd7b843447d15a1a'
+ '0419c3664dfb775393b30459d6d2d0a8')
+
+package() {
+ cd "${srcdir}"
+
+ mkdir -p "${pkgdir}"/usr/bin
+ mkdir -p "${pkgdir}"/usr/share/the-entertainment
+ mkdir -p "${pkgdir}"/usr/share/{applications,icons}
+
+ cp "${srcdir}"/TheEntertainment_Data "${pkgdir}"/usr/share/the-entertainment -R
+
+ if [ "${CARCH}" = "x86_64" ]; then
+ install -m755 "${srcdir}"/TheEntertainment.x86_64 "${pkgdir}"/usr/share/the-entertainment/TheEntertainment
+ else
+ install -m755 "${srcdir}"/TheEntertainment.x86 "${pkgdir}"/usr/share/the-entertainment/TheEntertainment
+ fi
+
+ find "${pkgdir}/usr/share/the-entertainment" -type d -exec chmod 755 "{}" \;
+ find "${pkgdir}/usr/share/the-entertainment" -type f -exec chmod 644 "{}" \;
+
+ install -m644 "${srcdir}"/the-entertainment.png "${pkgdir}"/usr/share/icons
+ install -m644 "${srcdir}"/the-entertainment.desktop "${pkgdir}"/usr/share/applications
+
+ chmod +x "${pkgdir}"/usr/share/the-entertainment/TheEntertainment
+
+ ln -s /usr/share/the-entertainment/TheEntertainment "${pkgdir}"/usr/bin/the-entertainment
+}
diff --git a/the-entertainment.desktop b/the-entertainment.desktop
new file mode 100644
index 00000000000..7e622cb68de
--- /dev/null
+++ b/the-entertainment.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Categories=Game;AdventureGame;
+Exec=/usr/bin/the-entertainment
+Icon=the-entertainment
+Terminal=false
+Type=Application
+Name=The Entertainment
+Comment=The Entertainment - Kentucky Route Zero
diff --git a/the-entertainment.png b/the-entertainment.png
new file mode 100644
index 00000000000..ffdab26e786
--- /dev/null
+++ b/the-entertainment.png
Binary files differ