diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-05-11 21:35:08 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-05-11 21:35:08 -0300 |
commit | 345b8c4070212e489cfc754155bc8dfea4db17b3 (patch) | |
tree | ad081c796dc4926227ce9b536266fe7c354b9d54 /pcr/nexuiz/PKGBUILD | |
parent | 5b032464a13505085ad85bcc646b5181c11c6bf1 (diff) | |
download | abslibre-345b8c4070212e489cfc754155bc8dfea4db17b3.tar.gz abslibre-345b8c4070212e489cfc754155bc8dfea4db17b3.tar.bz2 abslibre-345b8c4070212e489cfc754155bc8dfea4db17b3.zip |
mv aqsis,blender-addon-ogre,cambozola,cinepaint-lts,collada-dom,gimp-art,gimp-pcr,mednafen-server,mitsuba,nexuiz,nexuiz-data,noip,openssh-knock,python-pygame-hg,supermodel,systemd-knock,tupi,xcftools,yafaray,zoneminder to ssh://git@projects.parabola.nu/~git/pcr.git
Diffstat (limited to 'pcr/nexuiz/PKGBUILD')
-rw-r--r-- | pcr/nexuiz/PKGBUILD | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/pcr/nexuiz/PKGBUILD b/pcr/nexuiz/PKGBUILD deleted file mode 100644 index 0d5cd1afc..000000000 --- a/pcr/nexuiz/PKGBUILD +++ /dev/null @@ -1,59 +0,0 @@ -# Maintainer (Arch): Sven-Hendrik Haase <sh@lutzhaase.com> -# Contributor (Arch): Xyne -# Contributor (Arch): Rick Chen (stuffcorpse) -# Contributor (Arch): Jaroslaw Swierczynski <swiergot@aur.archlinux.org> -# Contributor (Arch): Roman Kyrylych <Roman.Kyrylych@gmail.com> -# Contributor (Arch): Camille Moncelier <pix@devlife.org> - -pkgname=nexuiz -pkgver=2.5.2 -_zipver=252 -pkgrel=3.1 -arch=('i686' 'x86_64' 'mips64el') -pkgdesc="A free software first person shooter" -url="http://www.alientrap.org/games/nexuiz" -license=("GPL") -depends=('alsa-lib' 'curl' 'libjpeg>=8' 'libmodplug' 'libvorbis' 'libxpm' 'libxxf86dga' 'libxxf86vm' 'sdl' 'nexuiz-data' 'libpng>=1.4.0') -makedepends=('mesa') -source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${_zipver}.zip \ - nexuiz-dedicated nexuiz-glx nexuiz-sdl nexuiz-glx.desktop \ - nexuiz-sdl.desktop nexuiz.png libpng14.patch) -md5sums=('d750bc328e58df8492f8d88bdcf818cb' - '19bfaa6e891d3309783e8366db485474' - '4d0ee9282a6fe153f82f7797decfd585' - '3e5ea741e8d55df8e7691c797c81ffa7' - '310f0577c39391f2d2f17cea446ce269' - '4561d3c5be4801399af515faf82ebcba' - '442fb62670bbe0a1b5370461052051a3' - '60964348924ff777a92dbb171a86a1ed') - -build() { - _nexdir="$pkgdir/opt/nexuiz" - _enginesource_date="20091001" - mkdir -p "$_nexdir" || return 1 - - cd $srcdir/Nexuiz - bsdtar -x -f sources/enginesource${_enginesource_date}.zip || return 1 - cd darkplaces - patch -Np1 -i ${srcdir}/libpng14.patch || return 1 - # patch -p1 < "$srcdir/nexuiz-libjpeg-fix.patch" || return 1 - - # here's a working kludge to build all three binaries at once but don't use it ;) - # make CPUOPTIMIZATIONS="${CFLAGS}" nexuiz || make CPUOPTIMIZATIONS="${CFLAGS}" nexuiz || return 1 - - # build the binaries separately instead to avoid truncated files - make CPUOPTIMIZATIONS="${CFLAGS}" DP_LINK_TO_LIBJPEG=1 cl-nexuiz || return 1 - make CPUOPTIMIZATIONS="${CFLAGS}" DP_LINK_TO_LIBJPEG=1 sdl-nexuiz || return 1 - make CPUOPTIMIZATIONS="${CFLAGS}" DP_LINK_TO_LIBJPEG=1 sv-nexuiz || return 1 -} - -package() { - cd $srcdir/Nexuiz/darkplaces - # install the compiled binaries - install -Dm755 nexuiz-glx nexuiz-sdl nexuiz-dedicated -t $_nexdir || return 1 - - install -dm755 $pkgdir/usr/{bin,share/applications} || return 1 - install -Dm755 $srcdir/nexuiz-{glx,sdl,dedicated} -t $pkgdir/usr/bin || return 1 - install -Dm644 $srcdir/*.desktop -t $pkgdir/usr/share/applications || return 1 - install -Dm644 $srcdir/nexuiz.png $pkgdir/usr/share/pixmaps/nexuiz.png || return 1 -} |