summaryrefslogtreecommitdiff
path: root/community/xonotic/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xonotic/PKGBUILD')
-rw-r--r--community/xonotic/PKGBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/community/xonotic/PKGBUILD b/community/xonotic/PKGBUILD
index 9a01eb7c3..1aa1927d9 100644
--- a/community/xonotic/PKGBUILD
+++ b/community/xonotic/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Alexander Suhoverhov <cy at ngs dot ru>
pkgname=xonotic
pkgver=0.6.0
-pkgrel=1
+pkgrel=2
pkgdesc="A free, fast-paced crossplatform first-person shooter"
arch=('i686' 'x86_64')
url="http://xonotic.org"
@@ -29,6 +29,10 @@ build() {
make -C Xonotic/source/darkplaces CPUOPTIMIZATIONS="${CFLAGS}" DP_FS_BASEDIR=/usr/share/xonotic/ DP_LINK_TO_LIBJPEG=1 cl-release
make -C Xonotic/source/darkplaces CPUOPTIMIZATIONS="${CFLAGS}" DP_FS_BASEDIR=/usr/share/xonotic/ DP_LINK_TO_LIBJPEG=1 sdl-release
make -C Xonotic/source/darkplaces CPUOPTIMIZATIONS="${CFLAGS}" DP_FS_BASEDIR=/usr/share/xonotic/ DP_LINK_TO_LIBJPEG=1 sv-release
+
+ cd $srcdir/Xonotic/source/d0_blind_id
+ ./configure --prefix=/usr --disable-rijndael
+ make
}
package() {
@@ -43,6 +47,10 @@ package() {
mkdir -p $pkgdir/usr/share/applications
install -Dm644 $srcdir/*.desktop -t $pkgdir/usr/share/applications
install -Dm644 $srcdir/Xonotic/misc/logos/icons_png/xonotic_512.png $pkgdir/usr/share/pixmaps/xonotic.png
+
+ # crypto stuff
+ cd $srcdir/Xonotic/source/d0_blind_id
+ make DESTDIR=$pkgdir install
}
# vim: ts=2:sw=2 et: