2015-06-04 18:09:12 +02:00
|
|
|
# Template file for 'urbanterror'
|
|
|
|
pkgname=urbanterror
|
|
|
|
version=4.2.023
|
2015-08-25 19:25:28 +02:00
|
|
|
revision=3
|
2015-06-04 18:09:12 +02:00
|
|
|
wrksrc="ioq3-for-UrbanTerror-4-release-${version}"
|
|
|
|
makedepends="SDL-devel libopenal-devel libcurl-devel libvorbis-devel"
|
|
|
|
depends="urbanterror-data>=${version}"
|
|
|
|
short_desc="A team tactical shooter based on ioquake"
|
|
|
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="https://github.com/Barbatos/ioq3-for-UrbanTerror-4"
|
|
|
|
distfiles="https://github.com/Barbatos/ioq3-for-UrbanTerror-4/archive/release-${version}.tar.gz"
|
|
|
|
checksum=17c79f4ed1adc0859a20f0b19ab75f04e1e7ff518c882b5cd68199b44acff90f
|
|
|
|
nocross=yes
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
make CC="$CC" CFLAGS="$CFLAGS" \
|
|
|
|
USE_OPENAL=yes USE_OPENAL_DLOPEN=0 \
|
|
|
|
USE_CURL=1 USE_CURL_DLOPEN=0 \
|
|
|
|
USE_CODEC_VORBIS=1 DEFAULT_BASEDIR="/usr/share/${pkgname}" \
|
|
|
|
${makejob}
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
_ARCH=$(uname -m | sed -e s/i.86/i386/)
|
|
|
|
vbin build/release-linux-${_ARCH}/Quake3-UrT.${_ARCH} urbanterror
|
|
|
|
vbin build/release-linux-${_ARCH}/Quake3-UrT-Ded.${_ARCH} urbanterror-server
|
2015-06-08 16:50:45 +02:00
|
|
|
vinstall ${FILESDIR}/urbanterror.desktop 644 usr/share/applications
|
2015-06-04 18:09:12 +02:00
|
|
|
vinstall ${FILESDIR}/urbanterror.png 644 usr/share/pixmaps
|
|
|
|
}
|