You are not logged in.
Pages: 1
So the new Nexuiz 1.5 has arrived witch is very cool, so I have made a package to it. But there is one thing... The PKGBUILD is quite ugly, and I think it could be better before I post it in AUR.
Here is it:
# $Id: $
# Contributor: Camille Moncelier <pix@devlife.org>
pkgname=nexuiz
pkgver=1.5
pkgrel=3
pkgdesc="A 3d deathmatch game based on the The Quake1 engine."
url="http://www.nexuiz.com"
depends=('sdl' 'x-server' 'alsa-lib')
source=(http://dl.sourceforge.net/sourceforge/$pkgname/nexuiz-15.zip nexuiz-dedicated nexuiz-sdl)
md5sums=(60037b11720d05ee17614dd75b35e51b
e212729381352a18a9b388f096f75b6a
4d2fa3297828f2334a8f3b47f149a37b
)
build() {
mkdir -p $startdir/pkg/opt/nexuiz/doc
mkdir -p $startdir/pkg/opt/nexuiz/data
mkdir -p $startdir/pkg/opt/nexuiz/navnodeedit/{data,src}
mkdir -p $startdir/pkg/usr/bin
install -m666 $startdir/src/Nexuiz/data/data20060214.pk3 $startdir/pkg/opt/nexuiz/data/data20060214.pk3
install -m666 $startdir/src/Nexuiz/navnodeedit/autoexec.cfg $startdir/pkg/opt/nexuiz/navnodeedit/autoexec.cfg
install -m666 $startdir/src/Nexuiz/navnodeedit/config.cfg $startdir/pkg/opt/nexuiz/navnodeedit/config.cfg
install -m666 $startdir/src/Nexuiz/navnodeedit/content.pk3 $startdir/pkg/opt/nexuiz/navnodeedit/content.pk3
install -m666 $startdir/src/Nexuiz/navnodeedit/navnodeedit.cfg $startdir/pkg/opt/nexuiz/navnodeedit/navnodeedit.cfg
install -m666 $startdir/src/Nexuiz/navnodeedit/NavNodeEdit_readme.txt $startdir/pkg/opt/nexuiz/navnodeedit/NavNodeEdit_readme.txt
install -m666 $startdir/src/Nexuiz/navnodeedit/progs.dat $startdir/pkg/opt/nexuiz/navnodeedit/progs.dat
install -m666 $startdir/src/Nexuiz/navnodeedit/quake.rc $startdir/pkg/opt/nexuiz/navnodeedit/quake.rc
install -m666 $startdir/src/Nexuiz/navnodeedit/data/nexdm01.bsp.nnl $startdir/pkg/opt/nexuiz/navnodeedit/data/nexdm01.bsp.nnl
install -m666 $startdir/src/Nexuiz/navnodeedit/data/nexdm03.bsp.nnl $startdir/pkg/opt/nexuiz/navnodeedit/data/nexdm03.bsp.nnl
install -m666 $startdir/src/Nexuiz/navnodeedit/data/nexdm07.bsp.nnl $startdir/pkg/opt/nexuiz/navnodeedit/data/nexdm07.bsp.nnl
install -m666 $startdir/src/Nexuiz/navnodeedit/data/nexdmextra1.bsp.nnl $startdir/pkg/opt/nexuiz/navnodeedit/data/nexdmextra1.bsp.nnl
install -m666 $startdir/src/Nexuiz/navnodeedit/src/client.qc $startdir/pkg/opt/nexuiz/navnodeedit/src/client.qc
install -m666 $startdir/src/Nexuiz/navnodeedit/src/defs.qc $startdir/pkg/opt/nexuiz/navnodeedit/src/defs.qc
install -m666 $startdir/src/Nexuiz/navnodeedit/src/dpextensions.qc $startdir/pkg/opt/nexuiz/navnodeedit/src/dpextensions.qc
install -m666 $startdir/src/Nexuiz/navnodeedit/src/junk.qc $startdir/pkg/opt/nexuiz/navnodeedit/src/junk.qc
install -m666 $startdir/src/Nexuiz/navnodeedit/src/linkjunk.qc $startdir/pkg/opt/nexuiz/navnodeedit/src/linkjunk.qc
install -m666 $startdir/src/Nexuiz/navnodeedit/src/main.qc $startdir/pkg/opt/nexuiz/navnodeedit/src/main.qc
install -m666 $startdir/src/Nexuiz/navnodeedit/src/menu.qc $startdir/pkg/opt/nexuiz/navnodeedit/src/menu.qc
install -m666 $startdir/src/Nexuiz/navnodeedit/src/progs.src $startdir/pkg/opt/nexuiz/navnodeedit/src/progs.src
install -m666 $startdir/src/Nexuiz/navnodeedit/src/wsystem.qc $startdir/pkg/opt/nexuiz/navnodeedit/src/wsystem.qc
install -m644 $startdir/src/Nexuiz/Docs/Readme.htm $startdir/pkg/opt/nexuiz/doc/readme.htm
install -m644 $startdir/src/Nexuiz/Docs/gamemodes.txt $startdir/pkg/opt/nexuiz/doc/gamemodes.txt
install -m755 $startdir/src/Nexuiz/nexuiz-linux-686-dedicated $startdir/pkg/opt/nexuiz/nexuiz-dedicated
install -m755 $startdir/src/Nexuiz/nexuiz-linux-686-sdl $startdir/pkg/opt/nexuiz/nexuiz-sdl
install -m755 $startdir/src/nexuiz-dedicated $startdir/pkg/usr/bin
install -m755 $startdir/src/nexuiz-sdl $startdir/pkg/usr/bin
}
Arch - It's something refreshing
Offline
Pages: 1