xonotic: rebuild against sdl2's change.

This commit is contained in:
Jeff Huang 2015-10-11 23:04:19 +00:00
parent 22bdf73e83
commit 327924710c

View File

@ -2,14 +2,13 @@ pkgbase=xonotic
_pkgbase=Xonotic _pkgbase=Xonotic
pkgname=($pkgbase $pkgbase-data) pkgname=($pkgbase $pkgbase-data)
pkgver=0.8.1 pkgver=0.8.1
pkgrel=1 pkgrel=2
pkgdesc="A free, fast-paced crossplatform first-person shooter" pkgdesc="A free, fast-paced crossplatform first-person shooter"
arch=('x86_64') arch=('x86_64')
url="http://xonotic.org" url="http://xonotic.org"
license=('GPL2') license=('GPL')
depends=('alsa-lib' 'curl' 'libjpeg' 'libmodplug' 'libpng' 'libvorbis' 'libxpm' 'libxxf86dga' makedepends=('alsa-lib' 'curl' 'libjpeg' 'libmodplug' 'libpng' 'libvorbis' 'libxpm' 'libxxf86dga'
'libxxf86vm' 'sdl2') 'libxxf86vm' 'sdl2' 'unzip' 'mesa')
makedepends=('unzip' 'mesa')
categories=('games') categories=('games')
source=("http://dl.xonotic.org/$pkgbase-$pkgver.zip" source=("http://dl.xonotic.org/$pkgbase-$pkgver.zip"
"xonotic-glx.desktop" "xonotic-glx.desktop"
@ -33,7 +32,7 @@ build() {
package_xonotic() { package_xonotic() {
cd $srcdir/$_pkgbase cd $srcdir/$_pkgbase
depends=('alsa-lib' 'curl' 'libjpeg' 'libmodplug' 'libpng' 'libvorbis' 'libxpm' 'libxxf86dga' depends=('alsa-lib' 'curl' 'libjpeg' 'libmodplug' 'libpng' 'libvorbis' 'libxpm' 'libxxf86dga'
'libxxf86vm' 'sdl' 'xonotic-data') 'libxxf86vm' 'sdl2' 'xonotic-data')
# Binaries. # Binaries.
install -Dm755 source/darkplaces/darkplaces-dedicated $pkgdir/usr/share/$pkgbase/$pkgbase-server install -Dm755 source/darkplaces/darkplaces-dedicated $pkgdir/usr/share/$pkgbase/$pkgbase-server