summarylogtreecommitdiffstats
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
parenta4d8d1b7b82ba898f047480614df419d5014faf0 (diff)
downloadaur-0d0f4e3f2cd2575f4d1b0e34d4fc8e2ae01f4b32.tar.gz
Adjust overwriting of the cdkey and removal of the original directory.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
-rw-r--r--ut2004.install10
3 files changed, 2 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 137f5897c3e8..534cabf7fbc8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ut2004-gog
pkgdesc = Popular first person shooter, native Linux version, installing data files from GOG (requires you having had purchased the GOG version).
pkgver = 3369_2
- pkgrel = 1
+ pkgrel = 2
epoch = 1
url = https://www.gog.com/game/unreal_tournament_2004_ece
install = ut2004.install
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
diff --git a/ut2004.install b/ut2004.install
index 06e67203b4ba..51115cbbae71 100644
--- a/ut2004.install
+++ b/ut2004.install
@@ -1,13 +1,3 @@
post_install() {
-
echo "To complete installation, write your UT2004 cdkey to /opt/ut2004/System/CDkey as root."
}
-
-post_remove() {
-
- # Cleaning up the post install files.
- rm -r /opt/ut2004 >& /dev/null
-}
-
-
-# vim:set ts=2 sw=2 et: