Skip to content

Instantly share code, notes, and snippets.

@ChemicalRascal
Created April 3, 2014 23:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChemicalRascal/9965262 to your computer and use it in GitHub Desktop.
Save ChemicalRascal/9965262 to your computer and use it in GitHub Desktop.
(OBSOLETE) aur/ftl PKGBUILD proto-patch proposal
--- PKGBUILD.old 2013-09-13 16:31:31.000000000 +1000
+++ PKGBUILD.new 2014-04-04 10:50:36.961756753 +1100
@@ -2,15 +2,15 @@
# Contributor: J0k3r <moebius282 e4at gmail D0_T com>
pkgname=ftl
-pkgver=1.03.3
-pkgrel=2
+pkgver=1.5.4
+pkgrel=1
pkgdesc="FTL: Faster Than Light, a spaceship simulation real-time roguelike-like (requires full copy of the game)"
license=('custom:commercial')
arch=('i686' 'x86_64')
url="http://www.ftlgame.com/"
depends=('glu')
makedepends=('imagemagick')
-_gamepkg="FTL.Linux.${pkgver}.tar.gz"
+_gamepkg="FTL.${pkgver}.tar.gz"
# You can download the Humble Indie Bundle file manually, or you can configure
# DLAGENTS in makepkg.conf to auto-download.
@@ -27,7 +27,7 @@
source=("${_gamepkg}"::"hib://${_gamepkg}"
${pkgname}.sh
${pkgname}.desktop)
-md5sums=('56cc8a8c0f67c1bced27397d05f998f1'
+md5sums=('4b0996ee15a0a280d71de754bde7f9c1'
'c415361a58df0857d9a42653fdaadd5a'
'f7a67ce1e0311d98f41e6d80d872cb97')
PKGEXT='.pkg.tar'
@@ -44,11 +44,13 @@
if [ "${CARCH}" = "i686" ]; then
rm -r "${pkgdir}/opt/${pkgname}/data/amd64"
- rm "${pkgdir}/opt/${pkgname}/data/x86/lib/libstdc++.so.6"
+ # libstdc++ doesn't seem to be bundled any more.
+ #rm "${pkgdir}/opt/${pkgname}/data/x86/lib/libstdc++.so.6"
find "${pkgdir}/opt/${pkgname}/data/x86" -type f -exec chmod 755 {} +
else
rm -r "${pkgdir}/opt/${pkgname}/data/x86"
- rm "${pkgdir}/opt/${pkgname}/data/amd64/lib/libstdc++.so.6"
+ # libstdc++ doesn't seem to be bundled any more.
+ #rm "${pkgdir}/opt/${pkgname}/data/amd64/lib/libstdc++.so.6"
find "${pkgdir}/opt/${pkgname}/data/amd64" -type f -exec chmod 755 {} +
fi
@@ -59,4 +61,3 @@
install -dm755 "${pkgdir}/usr/share/licenses"
ln -s "/opt/${pkgname}/data/licenses/" "${pkgdir}/usr/share/licenses/${pkgname}"
}
-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment