summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJohn-Michael Mulesa2021-09-04 21:04:34 +1000
committerJohn-Michael Mulesa2021-09-04 21:04:34 +1000
commit0d0f4e3f2cd2575f4d1b0e34d4fc8e2ae01f4b32 (patch)
tree8ed88aba794b16acd85097cac632598dea7337d7 /PKGBUILD
parenta4d8d1b7b82ba898f047480614df419d5014faf0 (diff)
downloadaur-0d0f4e3f2cd2575f4d1b0e34d4fc8e2ae01f4b32.tar.gz
Adjust overwriting of the cdkey and removal of the original directory.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 1 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d677356938ad..7bca1f054d93 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ epoch=1
pkgver=3369_2
_pkgvermaj=3369
_pkgvermin=2
-pkgrel=1
+pkgrel=2
pkgdesc="Popular first person shooter, native Linux version, installing data files from GOG (requires you having had purchased the GOG version)."
epoch=1
arch=('i686' 'x86_64')
@@ -75,11 +75,6 @@ package() {
rm $pkgdir/opt/ut2004/System/ut2004-bin-linux-amd64
fi
- # Installing cd key file placeholder.
- cat /dev/null > $pkgdir/opt/ut2004/System/CDkey
- chmod 644 $pkgdir/opt/ut2004/System/CDkey || return 1
-
-
# Create symbolic links to system libraries in game directory.
ln -s /usr/lib/libSDL-1.2.so.0 $pkgdir/opt/ut2004/System || return 1
chmod 644 $pkgdir/opt/ut2004/System/libSDL-1.2.so.0 || return 1