Date: Friday, May 18, 2018 @ 03:22:42
  Author: svenstaro
Revision: 324091

upgpkg: 0ad a23-1

Modified:
  0ad/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++++-----------------
 1 file changed, 11 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-05-18 00:38:48 UTC (rev 324090)
+++ PKGBUILD    2018-05-18 03:22:42 UTC (rev 324091)
@@ -3,9 +3,9 @@
 # Contributor: t3ddy  <t3ddy1988 "at" gmail {dot} com>
 # Contributor: Adrián Chaves Fernández (Gallaecio) <adriyeticha...@gmail.com>
 pkgname=0ad
-pkgver=a22
-_pkgver=0.0.22-alpha
-pkgrel=6
+pkgver=a23
+_pkgver=0.0.23-alpha
+pkgrel=1
 pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
 arch=('x86_64')
 url="http://play0ad.com/";
@@ -12,10 +12,10 @@
 license=('GPL2' 'CCPL')
 depends=('binutils' 'boost-libs' 'curl' 'enet' 'libogg' 'libpng' 'libvorbis'
          'libxml2' 'openal' 'sdl2' 'wxgtk' 'zlib' 'libgl' '0ad-data' 'glu'
-         'gloox' 'miniupnpc' 'libminiupnpc.so' 'icu' 'nspr')
+         'gloox' 'miniupnpc' 'libminiupnpc.so' 'icu' 'nspr' 'libsodium')
 makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm')
 
source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz";)
-sha512sums=('3f917e77c6cc1d3fb585c98950db6eab3f5895ba3db41a8737f8172c769b5582689b436cab31eeafecce0e9639ee456afc7b78ebb03435b06512eb9fe7393771')
+sha512sums=('4a1c86b19e0d8ec7d9b8bf75428df0255f95e7f991f419734f9b6ddc288a537405a34c5d7081f1a97475155c49013af85dee5c0265c35c7dbc003b46637a03d7')
 
 prepare() {
   cd "$srcdir/$pkgname-$_pkgver/"
@@ -30,14 +30,16 @@
   # http://site.icu-project.org/download/61#TOC-Migration-Issues
   CXXFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
 
+  export SDL2_CONFIG="pkg-config sdl2"
   ./update-workspaces.sh \
+      --without-pch \
       --bindir=/usr/bin \
       --libdir=/usr/lib/0ad \
-      --datadir=/usr/share/${pkgname}/data
+      --datadir=/usr/share/0ad/data
 
   cd "$srcdir/$pkgname-$_pkgver/build/workspaces/gcc"
 
-  make
+  verbose=1 make
 }
 
 package() {
@@ -50,14 +52,6 @@
   cp -r binaries/data/l10n/ ${pkgdir}/usr/share/${pkgname}/data/
 
   install -Dm755 build/resources/${pkgname}.sh "${pkgdir}/usr/bin/${pkgname}"
-  install -Dm644 build/resources/${pkgname}.desktop \
-    "${pkgdir}/usr/share/applications/${pkgname}.desktop"
-  install -Dm644 build/resources/${pkgname}.png \
-    "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+  install -Dm644 build/resources/${pkgname}.desktop 
"${pkgdir}/usr/share/applications/${pkgname}.desktop"
+  install -Dm644 build/resources/${pkgname}.png 
"${pkgdir}/usr/share/pixmaps/${pkgname}.png"
 }
-
-# Fails
-#check() {
-#  cd "$srcdir/$pkgname-$_pkgver"
-#  LD_LIBRARY_PATH=binaries/system binaries/system/test
-#}

Reply via email to