diff options
author | Joonas Henriksson | 2022-07-31 03:30:41 +0300 |
---|---|---|
committer | Joonas Henriksson | 2022-07-31 03:30:41 +0300 |
commit | 1159cd98801d092ef814104b153cf4f555c114a6 (patch) | |
tree | e3224eb1a8218121d71f6abed7fc89f7e39c17d7 | |
download | aur-1159cd98801d092ef814104b153cf4f555c114a6.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 54 | ||||
-rw-r--r-- | gog-race-the-sun | 3 | ||||
-rw-r--r-- | gog-race-the-sun.desktop | 10 |
4 files changed, 82 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4e77bddf9a42 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = gog-race-the-sun + pkgdesc = You are a solar powered craft, racing against the sunset at insane speeds through an infinite procedural world that changes every day. + pkgver = 2.4.0.8 + pkgrel = 1 + url = http://flippfly.com/racethesun/ + arch = x86_64 + license = custom + source = gog-race-the-sun + source = gog-race-the-sun.desktop + source = gog_race_the_sun_2.4.0.8.sh::gogdownloader://race_the_sun/en3installer3 + sha256sums = 4b48b6cf2df63532d7ac597d54e235d1484792067190bcea74d19158db193e71 + sha256sums = 6019acb30ae95360ae7560f4b075a02375c9543ef85baf4afab7b11f489c69b3 + sha256sums = 52735beb981d7853e8f40129f8d481eff454a31daf327f462e068b8e03ee1b27 + +pkgname = gog-race-the-sun diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5189afe5d70f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,54 @@ +# Maintainer: Joonas Henriksson <joonas.henriksson at gmail com> + +pkgname='gog-race-the-sun' +pkgver=2.4.0.8 +pkgrel=1 +pkgdesc="You are a solar powered craft, racing against the sunset at insane speeds through an infinite procedural world that changes every day." +url='http://flippfly.com/racethesun/' +license=('custom') +arch=('x86_64') +source=( + "${pkgname}" + "${pkgname}.desktop" + "gog_race_the_sun_${pkgver}.sh::gogdownloader://race_the_sun/en3installer3" +) +sha256sums=('4b48b6cf2df63532d7ac597d54e235d1484792067190bcea74d19158db193e71' + '6019acb30ae95360ae7560f4b075a02375c9543ef85baf4afab7b11f489c69b3' + '52735beb981d7853e8f40129f8d481eff454a31daf327f462e068b8e03ee1b27') + +DLAGENTS+=('gogdownloader::/usr/bin/lgogdownloader --download-file=%u -o %o') + +prepare() { + find . -type d -exec chmod 755 {} \; +} + +package() { + install -d "${pkgdir}/opt/${pkgname}/" + mv \ + "${srcdir}/data/noarch/game" \ + -t "${pkgdir}/opt/${pkgname}/" + + install -D -m 755 -T \ + "${srcdir}/${pkgname}" \ + "${pkgdir}/usr/bin/${pkgname}" + install -D -m 755 \ + "${srcdir}/data/noarch/start.sh" \ + -t "${pkgdir}/opt/${pkgname}/" + install -D -m 755 \ + "${srcdir}"/data/noarch/support/*.{sh,shlib} \ + -t "${pkgdir}/opt/${pkgname}/support/" + install -D -m 644 \ + "${srcdir}/data/noarch/gameinfo" \ + -t "${pkgdir}/opt/${pkgname}/" + + install -D -m 644 -T \ + "${srcdir}/data/noarch/docs/End User License Agreement.txt" \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -D -m 644 -T \ + "${srcdir}/data/noarch/support/icon.png" \ + "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + install -D -m 644 -T \ + "${srcdir}/${pkgname}.desktop" \ + "${pkgdir}/usr/share/applications/${pkgname}.desktop" +} + diff --git a/gog-race-the-sun b/gog-race-the-sun new file mode 100644 index 000000000000..24c1d2d44a2c --- /dev/null +++ b/gog-race-the-sun @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +/opt/gog-race-the-sun/start.sh + diff --git a/gog-race-the-sun.desktop b/gog-race-the-sun.desktop new file mode 100644 index 000000000000..7ecf0b1b718b --- /dev/null +++ b/gog-race-the-sun.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Race the Sun +Comment=You are a solar powered craft, racing against the sunset at insane speeds through an infinite procedural world that changes every day. +Exec=gog-race-the-sun +Icon=gog-race-the-sun +Type=Application +Terminal=false +StartupNotify=true +Categories=Game; +Encoding=UTF-8 |