Package Details: doom3 1.3.1.1304-12

Git Clone URL: https://aur.archlinux.org/doom3.git (read-only)
Package Base: doom3
Description: Doom 3 Engine. You need the retail .pk4 files to play.
Upstream URL: http://www.doom3.com/
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.000110
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: https://aur.archlinux.org/packages.php?ID=25900

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 http://sprunge.us/CWUM
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

with

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:

------------------------
pkgname=doom3
pkgver=1.3.1.1304
pkgrel=10
pkgdesc='Doom 3 Engine. You need the retail .pk4 files to play.'
url='http://www.doom3.com/'
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')
makedepends=('scons')
[ "$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')
install=doom3.install
source=('doom3.launcher' 'doom3-dedicated.launcher' 'doom3.desktop' \
'doom3.launcher64' 'doom3-dedicated.launcher64' 'doom3.png' \
"ftp://ftp.idsoftware.com/idstuff/source/idtech4-$pkgname-source-GPL.zip" \
"http://www.1337-server.net/doom3/$pkgname-linux-$pkgver.x86.run")
provides=('doom3')
conflicts=('doom3-bin')
md5sums=('da5f33feaa929c2c588a5a773c777e0f'
'6bdef1e111e5f450bca3f1c043caf4a2'
'facb0291279621d997f9504924d7e9b1'
'7ccbdd8f07672c6c34b2fe1de131e57c'
'aca58ca787ac3c2c44eea46b08a5a3c1'
'f99eb141eecc4b9dd188d6819d741546'
'8ef8ab167d89ffa801e974722391d3c0'
'6325f0936f59420d33668754032141cb')

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

# Build Binaries from Source
scons NOCURL=1 BUILD=release BUILD_GAMEPAK=1

cd $srcdir

# Make Installer Executable
chmod +x $srcdir/doom3-linux-$pkgver.x86.run

# Extract Game Files
./doom3-linux-$pkgver.x86.run --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 \
$pkgdir/opt/doom3

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

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

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

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

# Install License (DOOM 3)
install -D -m 644 $srcdir/License.txt \
$pkgdir/usr/share/licenses/$pkgname/license.txt

# Install Icon
install -D -m 644 $srcdir/doom3.png \
$pkgdir/usr/share/pixmaps/doom3.png

# Install Desktop File
install -D -m 644 $srcdir/doom3.desktop \
$pkgdir/usr/share/applications/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: http://wiki.iodoom3.org/Downloading_and_Compiling_under_Linux

ezzetabi commented on 2012-01-04 12:13

@keedhost
Try installing the multilib-devel group.

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