1 # Contributor: Slash <demodevil5[at]yahoo[dot]com>
6 pkgdesc="One of the most Popular QuakeWorld clients for Linux/BSD/OSX/Win32. You need the retail pak files to play."
7 url="http://ezquake.sourceforge.net/"
9 depends=('libgl' 'libxxf86dga')
11 conflicts=('fuhquake')
12 provides=('quake' 'fuhquake')
13 arch=('i686' 'x86_64')
14 install=ezquake.install
15 source=("http://downloads.sourceforge.net/sourceforge/ezquake/ezquake_linux32_${pkgver}.tar.gz" \
16 'ezquake.launcher' 'ezquake.desktop' 'ezquake.ico')
17 md5sums=('e238c2c0985a96598bd26a6ee116bee3'
18 'bad99b7adc7c238f1df2fc4973c00ae6'
19 '75cfa823bf495fe4cdb755c6b5546f2a'
20 'b3fd62bf6f56f139257544cab74ba71e')
21 noextract=("ezquake_linux32_${pkgver}.tar.gz")
23 if [ $CARCH = 'x86_64' ]; then
24 source[0]="http://downloads.sourceforge.net/sourceforge/ezquake/ezquake_linux64_${pkgver}.tar.gz"
25 md5sums[0]='00dc037b8f0442ae816025ef88c06c5e'
26 noextract=("ezquake_linux64_${pkgver}.tar.gz")
32 # Make Destination Directories
33 install -d ${pkgdir}/opt/quake
36 if [ $CARCH = 'x86_64' ]; then
37 bsdtar -x -o -C ${pkgdir}/opt/quake -f ${srcdir}/ezquake_linux64_${pkgver}.tar.gz
39 bsdtar -x -o -C ${pkgdir}/opt/quake -f ${srcdir}/ezquake_linux32_${pkgver}.tar.gz
42 # Make id1 Directory for pak0.pak and pak1.pak files
43 install -d ${pkgdir}/opt/quake/id1/
45 # Make save game Directory with user group permissions
46 install -d -m775 -g users ${pkgdir}/opt/quake/qw/save/
49 install -D -m644 ${srcdir}/ezquake.ico \
50 ${pkgdir}/usr/share/pixmaps/ezquake.ico
53 install -D -m755 ${srcdir}/ezquake.launcher \
54 ${pkgdir}/usr/bin/ezquake
57 install -D -m644 ${srcdir}/ezquake.desktop \
58 ${pkgdir}/usr/share/applications/ezquake.desktop