diff options
author | John-Michael Mulesa | 2022-06-28 17:14:47 +1000 |
---|---|---|
committer | John-Michael Mulesa | 2022-06-28 17:14:47 +1000 |
commit | 2baf65aec9c8ce20f816c793a9d7b721b0b871ee (patch) | |
tree | e046fd3db6dbc8efc95e361a14f7e870fbe05b9e | |
parent | bd32d08d90ec89b7e7ffccba17d88279843be204 (diff) | |
download | aur-ut2004-gog.tar.gz |
Add cdkey to first-run setup.
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | ChangeLog | 20 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | ut2004.sh | 2 |
5 files changed, 6 insertions, 30 deletions
@@ -1,9 +1,8 @@ pkgbase = ut2004-gog pkgdesc = Unreal Tournament 2004 ECE native Linux version with data via GOG pkgver = 3369 - pkgrel = 4 + pkgrel = 5 url = https://www.gog.com/game/unreal_tournament_2004_ece - install = ut2004.install arch = i686 arch = x86_64 license = custom @@ -25,6 +24,6 @@ pkgbase = ut2004-gog sha256sums = 438b9b13a367d46f23cce12b065382a55afa2fc68add1f1dd3db03b015f60bb3 sha256sums = daf88b168e941d0bdd6c6637934a98d703f962afec7c64a1502c5b82ff66c6c8 sha256sums = 9fd35b406dc32caa6a0700bda89ac72f561346b919c4764d943bf4198ec032fd - sha256sums = 5b47246e4f22ecca725e18f355b7f50fd0b56061e54a95a87146cd564ad65e10 + sha256sums = bd03cfb6a2006cb8a7786111e156b4a71f31ea1af38fc1329c8364d6082bb952 pkgname = ut2004-gog diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index f88cbf326263..000000000000 --- a/ChangeLog +++ /dev/null @@ -1,20 +0,0 @@ -2011-04-15 NiteHogg <keith.b.elliott [at] gmail [dot] com> - - * ut2003 3369.2-1 : - Overhauled this package build, - fixed sound and permissions. - Tested with UT2004 ECE DVD - on x86_64. - -2011-04-25 NiteHogg <keith.b.elliott [at] gmail [dot] com> - - * ut2003 3369.2-3 : - Updated the PKGBUILD to remove - the 64-bit launch bins if ran - on a 32-bit system. 32-bit strip - doesn't like the 64-bit compiled - bins. Thanks node357. - -2014-06-04 demon012 <alan.james.jenkins [at] gmail [dot] com> - - First Steam version of the package. @@ -8,7 +8,7 @@ pkgname=ut2004-gog pkgver=3369 _pkgvermaj=3369 _pkgvermin=2 -pkgrel=4 +pkgrel=5 pkgdesc="Unreal Tournament 2004 ECE native Linux version with data via GOG" arch=('i686' 'x86_64') url="https://www.gog.com/game/unreal_tournament_2004_ece" @@ -16,7 +16,6 @@ license=('custom') depends=('sdl' 'openal' 'libstdc++5') makedepends=('lgogdownloader' 'innoextract') conflicts=('ut2004' 'ut2004-steam') -install=ut2004.install source=("setup_unreal_tournament_2004_1.0_(18947).exe::gogdownloader://unreal_tournament_2004_ece/en1installer0" "setup_unreal_tournament_2004_1.0_(18947)-1.bin::gogdownloader://unreal_tournament_2004_ece/en1installer1" "https://github.com/jm2/archlinux-package-ut2004-steam/raw/master/ut2004-lnxpatch$_pkgvermaj-$_pkgvermin.tar.bz2" @@ -28,7 +27,7 @@ sha256sums=('1f8712b4da90a22d822e4f2c2a4d841df2692be96d0f85f9064c6c77480c3b85' '438b9b13a367d46f23cce12b065382a55afa2fc68add1f1dd3db03b015f60bb3' 'daf88b168e941d0bdd6c6637934a98d703f962afec7c64a1502c5b82ff66c6c8' '9fd35b406dc32caa6a0700bda89ac72f561346b919c4764d943bf4198ec032fd' - '5b47246e4f22ecca725e18f355b7f50fd0b56061e54a95a87146cd564ad65e10') + 'bd03cfb6a2006cb8a7786111e156b4a71f31ea1af38fc1329c8364d6082bb952') # If you want to use lgogdownloader add the following to /etc/makepkg.conf # DLAGENTS+=('gogdownloader::/usr/bin/lgogdownloader --download-file=%u -o %o') diff --git a/README.md b/README.md deleted file mode 100644 index e0d55dde0d59..000000000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -archlinux-package-ut2004-steam -============================== - -An AUR package for installing the native Linux version of Unreal Tournament from the Windows version in Steam using steamcmd. diff --git a/ut2004.sh b/ut2004.sh index 1b7947c4abd9..16aac08f1c45 100644 --- a/ut2004.sh +++ b/ut2004.sh @@ -3,6 +3,8 @@ if [ ! -d "$HOME"/.ut2004 ] ; then mkdir -p "$HOME"/.ut2004/System cp /opt/ut2004/__support/app/System/* "$HOME"/.ut2004/System/ + grep -FB1 CDKey /opt/ut2004/goggame-1207658691.script | grep -Po '"valueData": "\K[A-Z0-9-]*(?=",)' > "$HOME"/.ut2004/System/CDkey + chmod 600 "$HOME"/.ut2004/System/CDkey fi cd /opt/ut2004/System ./ut2004-bin |