diff options
author | Mike Swanson | 2013-09-21 04:02:07 -0700 |
---|---|---|
committer | Mike Swanson | 2013-09-21 04:02:07 -0700 |
commit | d819a209ed5375231e7ab9b83305ff1327988eb5 (patch) | |
tree | 9e357aa3bbf3bb7be5b42cbdefa5397335bc31b4 | |
parent | a5629206475d9b2483686cfbf1a5bee77b4cdf37 (diff) | |
download | aur-d819a209ed5375231e7ab9b83305ff1327988eb5.tar.gz |
Update fs2_open-data
GOG.com's changed the installer _again_ -- and again without announcing
it. Same version number as the first time I updated this package, but a
new md5sum, so that's a pain.
Also I'm deleting a bunch of Windows-centric files that aren't needed on
a Linux port. If you *really* want the *.exe version of the game, install
and play it in Wine!
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 10 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = fs2_open-data pkgdesc = Freespace 2 retail data for fs2_open pkgver = 1.20 - pkgrel = 3 + pkgrel = 4 url = http://www.gog.com/en/gamecard/freespace_2 arch = any license = custom:freespace2 @@ -1,7 +1,7 @@ # Maintainer: Mike Swanson <mikeonthecomputer@gmail.com> # Old Maintainer: Ezekiel Sulastin <zekesulastin@gmail.com> -# Warning: this package is BIG - 1.3 GiB for the GOG installer, +# Warning: this package is BIG - 1.6 GiB for the GOG installer, # 2 GiB for the actual unpacked game data, and 2 GiB for # the finished package if uncompressed. mv is used over cp # in the package phase to save a bit of space, but make sure @@ -22,7 +22,7 @@ pkgname=fs2_open-data pkgver=1.20 -pkgrel=3 +pkgrel=4 pkgdesc="Freespace 2 retail data for fs2_open" arch=('any') url="http://www.gog.com/en/gamecard/freespace_2" @@ -39,8 +39,8 @@ PKGEXT=".pkg.tar" prepare() { # Could possibly support older versions of the GOG installer too, # but it's worth it to have the latest version. - local _gog_md5="06341f1ccd8f70a1e02cc236712e7726" - local _gog_exe="setup_freespace_2.exe" + local _gog_md5="2870b98722a1e56a360e3a959019e678" + local _gog_exe="setup_freespace2_2.0.0.8.exe" if [[ -f ../$_gog_exe ]]; then echo "GOG installer detected; checking md5sum ..." if ! echo "$_gog_md5 ../$_gog_exe" | md5sum -c --status; then @@ -65,7 +65,7 @@ package() { cd "$srcdir" if [[ -r readme.txt ]]; then sed -n 416,471p readme.txt > LICENSE; - else head -n 19 < tmp/gog_EULA.txt | recode windows-1252/CRLF..utf8 > LICENSE; + else head -n 19 < tmp/GOG_EULA.txt | recode windows-1252/CRLF..utf8 > LICENSE; license=('custom:goodoldgames'); fi @@ -86,4 +86,8 @@ package() { rm -rf app/data{2,3} mv app/* "$pkgdir/opt/fs2_open" fi + + # Useless files for a Linux port. :D + find "$pkgdir/opt/fs2_open" -iname \*.exe -print0 -or -iname \*.dll -print0 \ + -or -iname \*.ico -print0 | xargs -0 rm -f } |