Package Details: doom3

Git Clone URL: (read-only)
Package Base: doom3
Description: Doom 3 Engine. You need the retail .pk4 files to play.
Upstream URL:
Licenses: custom:"DOOM 3"
Conflicts: doom3-bin, iodoom3, iodoom3-bin, iodoom3-git
Provides: doom3
Submitter: None
Maintainer: Slash
Last Packager: Slash
Votes: 74
Popularity: 0.000032
First Submitted: 2005-12-21 00:34
Last Updated: 2018-02-04 22:36

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

frb commented on 2012-02-06 18:52

Imho you can install it on /opt/doom3 for mods compatibility as Slash do for ioquake3:

Behem0th commented on 2012-02-06 14:57

conflicts=(... 'iodoom3-git' ...)
My current package is installed in /opt/iodoom3/ and desktop file is iodoom3.desktop. Theoretically our packages do not conflict.
But I'm not sure whether I should rename the installation folder for compatibility with mods? Or, is left as it is to be able to establish simultaneously both our package?
I apologize for my English.

Slash commented on 2012-02-03 16:28

Thanks, updated.

frb commented on 2012-02-02 09:50

Ok tested, it's only needed as makedepends.

frb commented on 2012-02-02 09:24

I think zip should be in makedepends; I'll test it shortly.

gtmanfred commented on 2012-02-02 02:17

I just had this error
might need to add zip to the depends

Slash commented on 2012-02-02 00:31

@Babets: Thanks, I updated the PKGBUILD. I also added iodoom3-bin (binary stable release) to the conflicts, just in case ;)

frb commented on 2012-02-01 19:11

It seems you don't need all game*.pk4 archives you only need to copy pak00*.pk4 files so change:
install -m 644 base/* $pkgdir/opt/doom3/base
install -m 644 d3xp/* $pkgdir/opt/doom3/d3xp


install -m 644 base/pak00*.pk4 $pkgdir/opt/doom3/base
install -m 644 d3xp/pak00*.pk4 $pkgdir/opt/doom3/d3xp

you should also change the "conflicts" array like this:

conflicts=('doom3-bin' 'iodoom3' 'iodoom3-git')

I have tested this changes on x86_64.

frb commented on 2012-01-30 22:18

Hi, I've cleaned and fixed a little bit the pkgbuild, it has been tested on x86_64:

pkgdesc='Doom 3 Engine. You need the retail .pk4 files to play.'
license=('custom:"DOOM 3"')
[ "$CARCH" = "i686" ] && depends=('libgl' 'alsa-lib' 'openal' 'libxxf86vm' 'libstdc++5')
[ "$CARCH" = "x86_64" ] && depends=('lib32-libgl' 'lib32-alsa-lib' 'lib32-openal' 'lib32-libxxf86vm' 'lib32-libstdc++5')
[ "$CARCH" = "x86_64" ] && makedepends=('gcc-multilib')
[ "$CARCH" = "i686" ] && optdepends=('alsa-plugins: pulseaudio-support' 'libpulse: pulseaudio support')
[ "$CARCH" = "x86_64" ] && optdepends=('lib32-alsa-plugins: pulseaudio-support' 'lib32-libpulse: pulseaudio support')
arch=('i686' 'x86_64')
source=('doom3.launcher' 'doom3-dedicated.launcher' 'doom3.desktop' \
'doom3.launcher64' 'doom3-dedicated.launcher64' 'doom3.png' \
"$" \

build() {
cd $srcdir/doom3.gpl/neo

# Build Binaries from Source

cd $srcdir

# Make Installer Executable
chmod +x $srcdir/doom3-linux-$

# Extract Game Files
./doom3-linux-$ --tar xf

package() {
cd $srcdir

# Create Destination Directories
install -d $pkgdir/opt/doom3/{base,d3xp}

# Install Game Binaries
install -m 755 $srcdir/doom3.gpl/neo/doom.x86 \

# Install Game Files
install -m 644 base/* $pkgdir/opt/doom3/base
install -m 644 d3xp/* $pkgdir/opt/doom3/d3xp
install -m 644 {CHANGES,README,} $pkgdir/opt/doom3
install -m 644 $srcdir/doom3.gpl/neo/game01-base.pk4 \
install -m 644 $srcdir/doom3.gpl/neo/game01-d3xp.pk4 \

if [ "$CARCH" == "i686" ]; then
# Install Game Launcher (Client)
install -D -m 755 $srcdir/doom3.launcher \

# Install Game Launcher (Server)
install -D -m 755 $srcdir/doom3-dedicated.launcher \
# Install Game Launcher (Client)
install -D -m 755 $srcdir/doom3.launcher64 \

# Install Game Launcher (Server)
install -D -m 755 $srcdir/doom3-dedicated.launcher64 \

# Install License (DOOM 3)
install -D -m 644 $srcdir/License.txt \

# Install Icon
install -D -m 644 $srcdir/doom3.png \

# Install Desktop File
install -D -m 644 $srcdir/doom3.desktop \

it seems that there's an additional pk4 archive needed for "Resurrection of Evil Expansion Pack" but I haven't found them in the installer as seen here:

ezzetabi commented on 2012-01-04 12:13

Try installing the multilib-devel group.

Probably the package misses something like:
[ "$CARCH" == x86_64 ] && makedepends=('scons' 'binutils-multilib' 'gcc-multilib' 'libtool-multilib')
[ "$CARCH" == i686 ] && makedepends=('scons')