diff options
author | Philip Abernethy | 2015-07-03 19:22:22 +0200 |
---|---|---|
committer | Philip Abernethy | 2015-07-03 19:22:22 +0200 |
commit | bb8405284673efb60642eeb7b53b106ce821b8e9 (patch) | |
tree | 7e4ab296073a9ab306730317258576a35a1e6ea0 | |
download | aur-bb8405284673efb60642eeb7b53b106ce821b8e9.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..599ac9662687 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = racethesun + pkgdesc = Hurtle towards the sunset at breakneck speed in a futile race against time. + pkgver = 1.441 + pkgrel = 1 + url = http://flippfly.com/ + arch = x86_64 + arch = i686 + license = custom:commercial + source = hib://RaceTheSunLINUX_1.441.zip + sha512sums = e642dc8d4f89949345e552aadb36b448f358dd261cd952c1d059d16010890ef5e10d03b176196c833468dcc1c5b1b50f80930d2e230613d716bbf91e3e791e80 + +pkgname = racethesun + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b32a3f1c6cb0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Philip 'Chais' Abernethy<chais.z3r0@gmail.com> +pkgname=racethesun +pkgver=1.441 +pkgrel=1 +pkgdesc="Hurtle towards the sunset at breakneck speed in a futile race against time." +url="http://flippfly.com/" +arch=('x86_64' 'i686') +license=('custom:commercial') + +DLAGENTS+=('hib::/usr/bin/echo "Could not find %u. Manually download it to \"$(pwd)\", or set up a hib:// DLAGENT in /etc/makepkg.conf."; exit 1') +source=("hib://RaceTheSunLINUX_${pkgver}.zip") +sha512sums=('e642dc8d4f89949345e552aadb36b448f358dd261cd952c1d059d16010890ef5e10d03b176196c833468dcc1c5b1b50f80930d2e230613d716bbf91e3e791e80') + +# Uncomment for big packages +#PKGEXT=".pkg.tar" + +package() { + install -dm755 "${pkgdir}"/{opt/${pkgname},usr/{bin,share/{applications,pixmaps,licenses/${pkgname}}}} + install -m755 "${srcdir}/RaceTheSunLINUX_${pkgver}/RaceTheSun.x86" "${pkgdir}/opt/${pkgname}/RaceTheSun.x86" + pushd "${srcdir}/RaceTheSunLINUX_${pkgver}" > /dev/null + find -type d -exec install -dm755 "${pkgdir}/opt/${pkgname}/{}" \; + find RaceTheSun_Data -type f -exec install -m644 "{}" "${pkgdir}/opt/${pkgname}/{}" \; + popd > /dev/null + ln -s /opt/${pkgname}/RaceTheSun_Data/Resources/UnityPlayer.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png" + ln -s /opt/${pkgname}/RaceTheSun.x86 "${pkgdir}/usr/bin/${pkgname}" + echo "[Desktop Entry] +Type=Application +Version=${pkgver} +Name=Race The Sun +GenericName=Race The Sun +Comment=${pkgdesc} +Icon=${pkgname} +Categories=Game; +Exec=/usr/bin/${pkgname} +Path=/opt/${pkgname}" > "${pkgdir}/usr/share/applications/${pkgname}.desktop" +} |