diff options
author | Quentin Retornaz | 2017-06-19 16:09:36 +0200 |
---|---|---|
committer | Quentin Retornaz | 2017-06-19 16:09:36 +0200 |
commit | f36946acf6d0702453bd044bbf65ccb3fa5c7680 (patch) | |
tree | d00081d69455d9512943bd152980ae1dc2fca363 | |
download | aur-f36946acf6d0702453bd044bbf65ccb3fa5c7680.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 39 | ||||
-rw-r--r-- | gog_com-Firewatch_1.desktop | 10 |
3 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7817345aaa8f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +# Generated by mksrcinfo v8 +# Mon Jun 19 14:09:11 UTC 2017 +pkgbase = firewatch-gog + pkgdesc = Firewatch is a single-player first-person mystery set in the Wyoming wilderness. + pkgver = 1.06_2.4.0.5 + pkgrel = 1 + url = http://www.redbarrelsgames.com/ + arch = x86_64 + license = custom: commercial + source = local://gog_firewatch_2.4.0.5.sh + source = gog_com-Firewatch_1.desktop + sha256sums = eb24695500ff3d04c13ef2ff54dff013c9a51074d340569f33a36c2a1304f0f6 + sha256sums = 8039148538da31d0e8cb7af51c5df51bdccddcfdedf8fa276deeca22094b5d92 + +pkgname = firewatch-gog + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e7e6b40574ac --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Quentin Retornaz <quentin dot retornaz at yahoo dot fr> + +pkgname=firewatch-gog +pkgver=1.06_2.4.0.5 +_gogver=2.4.0.5 +pkgrel=1 +pkgdesc="Firewatch is a single-player first-person mystery set in the Wyoming wilderness." +arch=('x86_64') +url="http://www.redbarrelsgames.com/" +license=('custom: commercial') +source=("local://gog_firewatch_${_gogver}.sh" + gog_com-Firewatch_1.desktop) +sha256sums=("eb24695500ff3d04c13ef2ff54dff013c9a51074d340569f33a36c2a1304f0f6" + "8039148538da31d0e8cb7af51c5df51bdccddcfdedf8fa276deeca22094b5d92") +# Prevent compressing final package +PKGEXT='.pkg.tar' + +package() { + mkdir -p "${pkgdir}/opt/firewatch/" + + # Launcher and Data + cp -Ral "${srcdir}/data/noarch/"* "${pkgdir}/opt/firewatch" + + # Install Binaries/Launchers + mkdir -p "${pkgdir}/usr/bin" + ln -s "/opt/firewatch/game/fw.${CARCH}" \ + "${pkgdir}/usr/bin/firewatch" + + # Desktop Integration + mkdir -p "${pkgdir}/usr/share/pixmaps/" + ln -s "/opt/firewatch/game/fw_Data/Resources/UnityPlayer.png" \ + "${pkgdir}/usr/share/pixmaps/firewatch.png" + install -Dm644 "${srcdir}/gog_com-Firewatch_1.desktop" "${pkgdir}/usr/share/applications/firewatch.desktop" + + # Permissions + find "${pkgdir}/opt/firewatch" -type d -exec chmod 755 {} \; + find "${pkgdir}/opt/firewatch" -type f -exec chmod 644 {} \; + chmod 755 "${pkgdir}/opt/firewatch/game/fw.${CARCH}" +} diff --git a/gog_com-Firewatch_1.desktop b/gog_com-Firewatch_1.desktop new file mode 100644 index 000000000000..efe465a50394 --- /dev/null +++ b/gog_com-Firewatch_1.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Value=1.0 +Type=Application +Name=Firewatch +GenericName=Firewatch +Comment=Firewatch +Icon=/usr/share/pixmaps/firewatch.png +Exec=firewatch +Categories=Game; |