milis/talimatname/genel/xonotic/talimat

21 lines
765 B
Plaintext
Raw Normal View History

2017-05-01 10:55:43 +02:00
# Description: Xonotic, net hareket ve geniş bir silah yelpazesine sahip, bağımlılık yaratan, arena tarzı bir birinci şahıs nişancılık oyunudur.
2017-04-09 21:13:28 +02:00
# URL: https://xonotic.org
# Packager: milisarge
2017-05-07 21:58:32 +02:00
# Depends on: alsa-lib libjpeg-turbo libmodplug libvorbis xorg-libxpm xorg-libxxf86dga xorg-libxxf86vm libpng xorg-mesa
2017-04-09 21:13:28 +02:00
name=xonotic
version=0.8.2
release=1
source=(https://dl.xonotic.org/$name-$version.zip)
build() {
cd Xonotic
make -C source/darkplaces CPUOPTIMIZATIONS="${CFLAGS}" DP_FS_BASEDIR=/usr/share/xonotic/ DP_LINK_TO_LIBJPEG=1 cl-release
install -Dm755 source/darkplaces/darkplaces-glx $PKG/usr/bin/xonotic-glx
mkdir -p $PKG/usr/share/xonotic/
mv data $PKG/usr/share/xonotic/
install -Dm644 key_0.d0pk $PKG/usr/share/xonotic/key_0.d0pk
}