[arch-commits] Commit in 0ad/repos (2 files)

2019-11-11 Thread Evangelos Foutras via arch-commits
Date: Tuesday, November 12, 2019 @ 02:33:29
  Author: foutrelis
Revision: 526940

archrelease: copy trunk to community-staging-x86_64

Added:
  0ad/repos/community-staging-x86_64/
  0ad/repos/community-staging-x86_64/PKGBUILD
(from rev 526939, 0ad/trunk/PKGBUILD)

--+
 PKGBUILD |   60 
 1 file changed, 60 insertions(+)

Copied: 0ad/repos/community-staging-x86_64/PKGBUILD (from rev 526939, 
0ad/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-11-12 02:33:29 UTC (rev 526940)
@@ -0,0 +1,60 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: t3ddy  
+# Contributor: Adrián Chaves Fernández (Gallaecio) 
+pkgname=0ad
+pkgver=a23.1
+_pkgver=0.0.23b-alpha
+pkgrel=7
+pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
+arch=('x86_64')
+url="http://play0ad.com/;
+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' 'libsodium')
+makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm')
+source=("https://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz;
+
"https://code.wildfiregames.com/file/data/3fjmeh3urwrljudvr5jt/PHID-FILE-aas5xivla4iia52w5i2d/D2353.diff;)
+sha512sums=('82934313c46c4fd89e3841d5bbf901904abbd2108e9749529d7282bd24ac53b9e6878681c06e6019f4d8ec0e425c28300b0aafc9610a66a331777ffb58ed6135'
+
'8d6134ee8a5fe3e2a3de44ae1a7e80712d11f7de965b744d04abff0968438624c9862d19e8e738cb8cbac6b2ee4bd8c5f55778249992ffa2112cf913f2932659')
+
+prepare() {
+  cd "$srcdir/$pkgname-$_pkgver/"
+  sed -i "s/env python/env python2/g" 
libraries/source/cxxtest-4.4/bin/cxxtestgen
+
+  patch -Np0 -i "$srcdir"/D2353.diff
+}
+
+build() {
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces"
+
+  unset CPPFLAGS # for le spidermonkey
+
+  # 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/0ad/data
+
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces/gcc"
+
+  verbose=1 make
+}
+
+package() {
+  install -d "${pkgdir}"/usr/{bin,lib/0ad,share/"${pkgname}"/data}
+  cd "$srcdir/$pkgname-$_pkgver"
+
+  install -Dm755 binaries/system/pyrogenesis "${pkgdir}/usr/bin"
+  install -Dm755 binaries/system/*.so "${pkgdir}/usr/lib/0ad"
+
+  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"
+}


[arch-commits] Commit in 0ad/repos (2 files)

2019-09-13 Thread Felix Yan via arch-commits
Date: Friday, September 13, 2019 @ 11:19:25
  Author: felixonmars
Revision: 510303

archrelease: copy trunk to community-staging-x86_64

Added:
  0ad/repos/community-staging-x86_64/
  0ad/repos/community-staging-x86_64/PKGBUILD
(from rev 510302, 0ad/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: 0ad/repos/community-staging-x86_64/PKGBUILD (from rev 510302, 
0ad/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-09-13 11:19:25 UTC (rev 510303)
@@ -0,0 +1,56 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: t3ddy  
+# Contributor: Adrián Chaves Fernández (Gallaecio) 
+pkgname=0ad
+pkgver=a23.1
+_pkgver=0.0.23b-alpha
+pkgrel=5
+pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
+arch=('x86_64')
+url="http://play0ad.com/;
+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' 'libsodium')
+makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm')
+source=("https://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz;)
+sha512sums=('82934313c46c4fd89e3841d5bbf901904abbd2108e9749529d7282bd24ac53b9e6878681c06e6019f4d8ec0e425c28300b0aafc9610a66a331777ffb58ed6135')
+
+prepare() {
+  cd "$srcdir/$pkgname-$_pkgver/"
+  sed -i "s/env python/env python2/g" 
libraries/source/cxxtest-4.4/bin/cxxtestgen
+}
+
+build() {
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces"
+
+  unset CPPFLAGS # for le spidermonkey
+
+  # 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/0ad/data
+
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces/gcc"
+
+  verbose=1 make
+}
+
+package() {
+  install -d "${pkgdir}"/usr/{bin,lib/0ad,share/"${pkgname}"/data}
+  cd "$srcdir/$pkgname-$_pkgver"
+
+  install -Dm755 binaries/system/pyrogenesis "${pkgdir}/usr/bin"
+  install -Dm755 binaries/system/*.so "${pkgdir}/usr/lib/0ad"
+
+  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"
+}


[arch-commits] Commit in 0ad/repos (2 files)

2019-04-05 Thread Felix Yan via arch-commits
Date: Friday, April 5, 2019 @ 14:50:02
  Author: felixonmars
Revision: 449832

archrelease: copy trunk to community-staging-x86_64

Added:
  0ad/repos/community-staging-x86_64/
  0ad/repos/community-staging-x86_64/PKGBUILD
(from rev 449831, 0ad/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: 0ad/repos/community-staging-x86_64/PKGBUILD (from rev 449831, 
0ad/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-05 14:50:02 UTC (rev 449832)
@@ -0,0 +1,56 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: t3ddy  
+# Contributor: Adrián Chaves Fernández (Gallaecio) 
+pkgname=0ad
+pkgver=a23.1
+_pkgver=0.0.23b-alpha
+pkgrel=4
+pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
+arch=('x86_64')
+url="http://play0ad.com/;
+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' 'libsodium')
+makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm')
+source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz;)
+sha512sums=('82934313c46c4fd89e3841d5bbf901904abbd2108e9749529d7282bd24ac53b9e6878681c06e6019f4d8ec0e425c28300b0aafc9610a66a331777ffb58ed6135')
+
+prepare() {
+  cd "$srcdir/$pkgname-$_pkgver/"
+  sed -i "s/env python/env python2/g" 
libraries/source/cxxtest-4.4/bin/cxxtestgen
+}
+
+build() {
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces"
+
+  unset CPPFLAGS # for le spidermonkey
+
+  # 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/0ad/data
+
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces/gcc"
+
+  verbose=1 make
+}
+
+package() {
+  install -d "${pkgdir}"/usr/{bin,lib/0ad,share/"${pkgname}"/data}
+  cd "$srcdir/$pkgname-$_pkgver"
+
+  install -Dm755 binaries/system/pyrogenesis "${pkgdir}/usr/bin"
+  install -Dm755 binaries/system/*.so "${pkgdir}/usr/lib/0ad"
+
+  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"
+}


[arch-commits] Commit in 0ad/repos (2 files)

2019-03-26 Thread Antonio Rojas via arch-commits
Date: Tuesday, March 26, 2019 @ 07:27:18
  Author: arojas
Revision: 443535

archrelease: copy trunk to community-staging-x86_64

Added:
  0ad/repos/community-staging-x86_64/
  0ad/repos/community-staging-x86_64/PKGBUILD
(from rev 443534, 0ad/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: 0ad/repos/community-staging-x86_64/PKGBUILD (from rev 443534, 
0ad/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-03-26 07:27:18 UTC (rev 443535)
@@ -0,0 +1,56 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: t3ddy  
+# Contributor: Adrián Chaves Fernández (Gallaecio) 
+pkgname=0ad
+pkgver=a23.1
+_pkgver=0.0.23b-alpha
+pkgrel=3
+pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
+arch=('x86_64')
+url="http://play0ad.com/;
+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' 'libsodium')
+makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm')
+source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz;)
+sha512sums=('82934313c46c4fd89e3841d5bbf901904abbd2108e9749529d7282bd24ac53b9e6878681c06e6019f4d8ec0e425c28300b0aafc9610a66a331777ffb58ed6135')
+
+prepare() {
+  cd "$srcdir/$pkgname-$_pkgver/"
+  sed -i "s/env python/env python2/g" 
libraries/source/cxxtest-4.4/bin/cxxtestgen
+}
+
+build() {
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces"
+
+  unset CPPFLAGS # for le spidermonkey
+
+  # 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/0ad/data
+
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces/gcc"
+
+  verbose=1 make
+}
+
+package() {
+  install -d "${pkgdir}"/usr/{bin,lib/0ad,share/"${pkgname}"/data}
+  cd "$srcdir/$pkgname-$_pkgver"
+
+  install -Dm755 binaries/system/pyrogenesis "${pkgdir}/usr/bin"
+  install -Dm755 binaries/system/*.so "${pkgdir}/usr/lib/0ad"
+
+  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"
+}


[arch-commits] Commit in 0ad/repos (2 files)

2019-01-15 Thread Evangelos Foutras via arch-commits
Date: Tuesday, January 15, 2019 @ 09:01:03
  Author: foutrelis
Revision: 423214

archrelease: copy trunk to community-staging-x86_64

Added:
  0ad/repos/community-staging-x86_64/
  0ad/repos/community-staging-x86_64/PKGBUILD
(from rev 423213, 0ad/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: 0ad/repos/community-staging-x86_64/PKGBUILD (from rev 423213, 
0ad/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-01-15 09:01:03 UTC (rev 423214)
@@ -0,0 +1,56 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: t3ddy  
+# Contributor: Adrián Chaves Fernández (Gallaecio) 
+pkgname=0ad
+pkgver=a23.1
+_pkgver=0.0.23b-alpha
+pkgrel=2
+pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
+arch=('x86_64')
+url="http://play0ad.com/;
+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' 'libsodium')
+makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm')
+source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz;)
+sha512sums=('82934313c46c4fd89e3841d5bbf901904abbd2108e9749529d7282bd24ac53b9e6878681c06e6019f4d8ec0e425c28300b0aafc9610a66a331777ffb58ed6135')
+
+prepare() {
+  cd "$srcdir/$pkgname-$_pkgver/"
+  sed -i "s/env python/env python2/g" 
libraries/source/cxxtest-4.4/bin/cxxtestgen
+}
+
+build() {
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces"
+
+  unset CPPFLAGS # for le spidermonkey
+
+  # 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/0ad/data
+
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces/gcc"
+
+  verbose=1 make
+}
+
+package() {
+  install -d "${pkgdir}"/usr/{bin,lib/0ad,share/"${pkgname}"/data}
+  cd "$srcdir/$pkgname-$_pkgver"
+
+  install -Dm755 binaries/system/pyrogenesis "${pkgdir}/usr/bin"
+  install -Dm755 binaries/system/*.so "${pkgdir}/usr/lib/0ad"
+
+  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"
+}


[arch-commits] Commit in 0ad/repos (2 files)

2018-10-22 Thread Felix Yan via arch-commits
Date: Monday, October 22, 2018 @ 22:35:54
  Author: felixonmars
Revision: 398552

archrelease: copy trunk to community-staging-x86_64

Added:
  0ad/repos/community-staging-x86_64/
  0ad/repos/community-staging-x86_64/PKGBUILD
(from rev 398551, 0ad/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: 0ad/repos/community-staging-x86_64/PKGBUILD (from rev 398551, 
0ad/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-22 22:35:54 UTC (rev 398552)
@@ -0,0 +1,56 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: t3ddy  
+# Contributor: Adrián Chaves Fernández (Gallaecio) 
+pkgname=0ad
+pkgver=a23
+_pkgver=0.0.23-alpha
+pkgrel=6
+pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
+arch=('x86_64')
+url="http://play0ad.com/;
+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' 'libsodium')
+makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm')
+source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz;)
+sha512sums=('4a1c86b19e0d8ec7d9b8bf75428df0255f95e7f991f419734f9b6ddc288a537405a34c5d7081f1a97475155c49013af85dee5c0265c35c7dbc003b46637a03d7')
+
+prepare() {
+  cd "$srcdir/$pkgname-$_pkgver/"
+  sed -i "s/env python/env python2/g" 
libraries/source/cxxtest-4.4/bin/cxxtestgen
+}
+
+build() {
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces"
+
+  unset CPPFLAGS # for le spidermonkey
+
+  # 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/0ad/data
+
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces/gcc"
+
+  verbose=1 make
+}
+
+package() {
+  install -d "${pkgdir}"/usr/{bin,lib/0ad,share/"${pkgname}"/data}
+  cd "$srcdir/$pkgname-$_pkgver"
+
+  install -Dm755 binaries/system/pyrogenesis "${pkgdir}/usr/bin"
+  install -Dm755 binaries/system/*.so "${pkgdir}/usr/lib/0ad"
+
+  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"
+}


[arch-commits] Commit in 0ad/repos (2 files)

2018-09-17 Thread Evangelos Foutras via arch-commits
Date: Tuesday, September 18, 2018 @ 05:26:35
  Author: foutrelis
Revision: 382921

archrelease: copy trunk to community-staging-x86_64

Added:
  0ad/repos/community-staging-x86_64/
  0ad/repos/community-staging-x86_64/PKGBUILD
(from rev 382920, 0ad/trunk/PKGBUILD)

--+
 PKGBUILD |   56 
 1 file changed, 56 insertions(+)

Copied: 0ad/repos/community-staging-x86_64/PKGBUILD (from rev 382920, 
0ad/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-09-18 05:26:35 UTC (rev 382921)
@@ -0,0 +1,56 @@
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: t3ddy  
+# Contributor: Adrián Chaves Fernández (Gallaecio) 
+pkgname=0ad
+pkgver=a23
+_pkgver=0.0.23-alpha
+pkgrel=5
+pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
+arch=('x86_64')
+url="http://play0ad.com/;
+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' 'libsodium')
+makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm')
+source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz;)
+sha512sums=('4a1c86b19e0d8ec7d9b8bf75428df0255f95e7f991f419734f9b6ddc288a537405a34c5d7081f1a97475155c49013af85dee5c0265c35c7dbc003b46637a03d7')
+
+prepare() {
+  cd "$srcdir/$pkgname-$_pkgver/"
+  sed -i "s/env python/env python2/g" 
libraries/source/cxxtest-4.4/bin/cxxtestgen
+}
+
+build() {
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces"
+
+  unset CPPFLAGS # for le spidermonkey
+
+  # 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/0ad/data
+
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces/gcc"
+
+  verbose=1 make
+}
+
+package() {
+  install -d "${pkgdir}"/usr/{bin,lib/0ad,share/"${pkgname}"/data}
+  cd "$srcdir/$pkgname-$_pkgver"
+
+  install -Dm755 binaries/system/pyrogenesis "${pkgdir}/usr/bin"
+  install -Dm755 binaries/system/*.so "${pkgdir}/usr/lib/0ad"
+
+  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"
+}


[arch-commits] Commit in 0ad/repos (2 files)

2018-08-06 Thread Felix Yan via arch-commits
Date: Monday, August 6, 2018 @ 21:19:18
  Author: felixonmars
Revision: 369925

archrelease: copy trunk to community-staging-x86_64

Added:
  0ad/repos/community-staging-x86_64/
  0ad/repos/community-staging-x86_64/PKGBUILD
(from rev 369924, 0ad/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: 0ad/repos/community-staging-x86_64/PKGBUILD (from rev 369924, 
0ad/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-08-06 21:19:18 UTC (rev 369925)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: t3ddy  
+# Contributor: Adrián Chaves Fernández (Gallaecio) 
+pkgname=0ad
+pkgver=a23
+_pkgver=0.0.23-alpha
+pkgrel=4
+pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
+arch=('x86_64')
+url="http://play0ad.com/;
+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' 'libsodium')
+makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm')
+source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz;)
+sha512sums=('4a1c86b19e0d8ec7d9b8bf75428df0255f95e7f991f419734f9b6ddc288a537405a34c5d7081f1a97475155c49013af85dee5c0265c35c7dbc003b46637a03d7')
+
+prepare() {
+  cd "$srcdir/$pkgname-$_pkgver/"
+  sed -i "s/env python/env python2/g" 
libraries/source/cxxtest-4.4/bin/cxxtestgen
+}
+
+build() {
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces"
+
+  unset CPPFLAGS # for le spidermonkey
+
+  # 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/0ad/data
+
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces/gcc"
+
+  verbose=1 make
+}
+
+package() {
+  install -d "${pkgdir}"/usr/{bin,lib/0ad,share/"${pkgname}"/data}
+  cd "$srcdir/$pkgname-$_pkgver"
+
+  install -Dm755 binaries/system/pyrogenesis "${pkgdir}/usr/bin"
+  install -Dm755 binaries/system/*.so "${pkgdir}/usr/lib/0ad"
+
+  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"
+}


[arch-commits] Commit in 0ad/repos (2 files)

2018-05-30 Thread Felix Yan via arch-commits
Date: Thursday, May 31, 2018 @ 03:01:33
  Author: felixonmars
Revision: 333971

archrelease: copy trunk to community-staging-x86_64

Added:
  0ad/repos/community-staging-x86_64/
  0ad/repos/community-staging-x86_64/PKGBUILD
(from rev 333969, 0ad/trunk/PKGBUILD)

--+
 PKGBUILD |   57 +
 1 file changed, 57 insertions(+)

Copied: 0ad/repos/community-staging-x86_64/PKGBUILD (from rev 333969, 
0ad/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-05-31 03:01:33 UTC (rev 333971)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: t3ddy  
+# Contributor: Adrián Chaves Fernández (Gallaecio) 
+pkgname=0ad
+pkgver=a23
+_pkgver=0.0.23-alpha
+pkgrel=2
+pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
+arch=('x86_64')
+url="http://play0ad.com/;
+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' 'libsodium')
+makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm')
+source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz;)
+sha512sums=('4a1c86b19e0d8ec7d9b8bf75428df0255f95e7f991f419734f9b6ddc288a537405a34c5d7081f1a97475155c49013af85dee5c0265c35c7dbc003b46637a03d7')
+
+prepare() {
+  cd "$srcdir/$pkgname-$_pkgver/"
+  sed -i "s/env python/env python2/g" 
libraries/source/cxxtest-4.4/bin/cxxtestgen
+}
+
+build() {
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces"
+
+  unset CPPFLAGS # for le spidermonkey
+
+  # 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/0ad/data
+
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces/gcc"
+
+  verbose=1 make
+}
+
+package() {
+  install -d "${pkgdir}"/usr/{bin,lib/0ad,share/"${pkgname}"/data}
+  cd "$srcdir/$pkgname-$_pkgver"
+
+  install -Dm755 binaries/system/pyrogenesis "${pkgdir}/usr/bin"
+  install -Dm755 binaries/system/*.so "${pkgdir}/usr/lib/0ad"
+
+  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"
+}


[arch-commits] Commit in 0ad/repos (2 files)

2018-04-07 Thread Levente Polyak via arch-commits
Date: Saturday, April 7, 2018 @ 19:02:21
  Author: anthraxx
Revision: 314893

archrelease: copy trunk to community-staging-x86_64

Added:
  0ad/repos/community-staging-x86_64/
  0ad/repos/community-staging-x86_64/PKGBUILD
(from rev 314892, 0ad/trunk/PKGBUILD)

--+
 PKGBUILD |   63 +
 1 file changed, 63 insertions(+)

Copied: 0ad/repos/community-staging-x86_64/PKGBUILD (from rev 314892, 
0ad/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-04-07 19:02:21 UTC (rev 314893)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: t3ddy  
+# Contributor: Adrián Chaves Fernández (Gallaecio) 
+pkgname=0ad
+pkgver=a22
+_pkgver=0.0.22-alpha
+pkgrel=6
+pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
+arch=('x86_64')
+url="http://play0ad.com/;
+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')
+makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm')
+source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz;)
+sha512sums=('3f917e77c6cc1d3fb585c98950db6eab3f5895ba3db41a8737f8172c769b5582689b436cab31eeafecce0e9639ee456afc7b78ebb03435b06512eb9fe7393771')
+
+prepare() {
+  cd "$srcdir/$pkgname-$_pkgver/"
+  sed -i "s/env python/env python2/g" 
libraries/source/cxxtest-4.4/bin/cxxtestgen
+}
+
+build() {
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces"
+
+  unset CPPFLAGS # for le spidermonkey
+
+  # http://site.icu-project.org/download/61#TOC-Migration-Issues
+  CXXFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
+
+  ./update-workspaces.sh \
+  --bindir=/usr/bin \
+  --libdir=/usr/lib/0ad \
+  --datadir=/usr/share/${pkgname}/data
+
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces/gcc"
+
+  make
+}
+
+package() {
+  install -d "${pkgdir}"/usr/{bin,lib/0ad,share/"${pkgname}"/data}
+  cd "$srcdir/$pkgname-$_pkgver"
+
+  install -Dm755 binaries/system/pyrogenesis "${pkgdir}/usr/bin"
+  install -Dm755 binaries/system/*.so "${pkgdir}/usr/lib/0ad"
+
+  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"
+}
+
+# Fails
+#check() {
+#  cd "$srcdir/$pkgname-$_pkgver"
+#  LD_LIBRARY_PATH=binaries/system binaries/system/test
+#}


[arch-commits] Commit in 0ad/repos (2 files)

2018-03-27 Thread Evangelos Foutras via arch-commits
Date: Wednesday, March 28, 2018 @ 00:17:13
  Author: foutrelis
Revision: 312995

archrelease: copy trunk to community-staging-x86_64

Added:
  0ad/repos/community-staging-x86_64/
  0ad/repos/community-staging-x86_64/PKGBUILD
(from rev 312994, 0ad/trunk/PKGBUILD)

--+
 PKGBUILD |   63 +
 1 file changed, 63 insertions(+)

Copied: 0ad/repos/community-staging-x86_64/PKGBUILD (from rev 312994, 
0ad/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-03-28 00:17:13 UTC (rev 312995)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: t3ddy  
+# Contributor: Adrián Chaves Fernández (Gallaecio) 
+pkgname=0ad
+pkgver=a22
+_pkgver=0.0.22-alpha
+pkgrel=5
+pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
+arch=('x86_64')
+url="http://play0ad.com/;
+license=('GPL2' 'CCPL')
+depends=('binutils' 'boost-libs' 'curl' 'enet' 'libogg' 'libpng' 'libvorbis'
+ 'libxml2' 'openal' 'sdl2' 'wxgtk' 'zlib' 'libgl' '0ad-data' 'glu'
+ 'gloox' 'miniupnpc' 'icu' 'nspr')
+makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm')
+source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz;)
+sha512sums=('3f917e77c6cc1d3fb585c98950db6eab3f5895ba3db41a8737f8172c769b5582689b436cab31eeafecce0e9639ee456afc7b78ebb03435b06512eb9fe7393771')
+
+prepare() {
+  cd "$srcdir/$pkgname-$_pkgver/"
+  sed -i "s/env python/env python2/g" 
libraries/source/cxxtest-4.4/bin/cxxtestgen
+}
+
+build() {
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces"
+
+  unset CPPFLAGS # for le spidermonkey
+
+  # http://site.icu-project.org/download/61#TOC-Migration-Issues
+  CXXFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
+
+  ./update-workspaces.sh \
+  --bindir=/usr/bin \
+  --libdir=/usr/lib/0ad \
+  --datadir=/usr/share/${pkgname}/data
+
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces/gcc"
+
+  make
+}
+
+package() {
+  install -d "${pkgdir}"/usr/{bin,lib/0ad,share/"${pkgname}"/data}
+  cd "$srcdir/$pkgname-$_pkgver"
+
+  install -Dm755 binaries/system/pyrogenesis "${pkgdir}/usr/bin"
+  install -Dm755 binaries/system/*.so "${pkgdir}/usr/lib/0ad"
+
+  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"
+}
+
+# Fails
+#check() {
+#  cd "$srcdir/$pkgname-$_pkgver"
+#  LD_LIBRARY_PATH=binaries/system binaries/system/test
+#}


[arch-commits] Commit in 0ad/repos (2 files)

2017-12-27 Thread Felix Yan via arch-commits
Date: Thursday, December 28, 2017 @ 07:54:36
  Author: felixonmars
Revision: 276372

archrelease: copy trunk to community-staging-x86_64

Added:
  0ad/repos/community-staging-x86_64/
  0ad/repos/community-staging-x86_64/PKGBUILD
(from rev 276371, 0ad/trunk/PKGBUILD)

--+
 PKGBUILD |   60 
 1 file changed, 60 insertions(+)

Copied: 0ad/repos/community-staging-x86_64/PKGBUILD (from rev 276371, 
0ad/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-12-28 07:54:36 UTC (rev 276372)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: t3ddy  
+# Contributor: Adrián Chaves Fernández (Gallaecio) 
+pkgname=0ad
+pkgver=a22
+_pkgver=0.0.22-alpha
+pkgrel=4
+pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
+arch=('x86_64')
+url="http://play0ad.com/;
+license=('GPL2' 'CCPL')
+depends=('binutils' 'boost-libs' 'curl' 'enet' 'libogg' 'libpng' 'libvorbis'
+ 'libxml2' 'openal' 'sdl2' 'wxgtk' 'zlib' 'libgl' '0ad-data' 'glu'
+ 'gloox' 'miniupnpc' 'icu' 'nspr')
+makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm')
+source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz;)
+sha512sums=('3f917e77c6cc1d3fb585c98950db6eab3f5895ba3db41a8737f8172c769b5582689b436cab31eeafecce0e9639ee456afc7b78ebb03435b06512eb9fe7393771')
+
+prepare() {
+  cd "$srcdir/$pkgname-$_pkgver/"
+  sed -i "s/env python/env python2/g" 
libraries/source/cxxtest-4.4/bin/cxxtestgen
+}
+
+build() {
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces"
+
+  unset CPPFLAGS # for le spidermonkey
+
+  ./update-workspaces.sh \
+  --bindir=/usr/bin \
+  --libdir=/usr/lib/0ad \
+  --datadir=/usr/share/${pkgname}/data
+
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces/gcc"
+
+  make
+}
+
+package() {
+  install -d "${pkgdir}"/usr/{bin,lib/0ad,share/"${pkgname}"/data}
+  cd "$srcdir/$pkgname-$_pkgver"
+
+  install -Dm755 binaries/system/pyrogenesis "${pkgdir}/usr/bin"
+  install -Dm755 binaries/system/*.so "${pkgdir}/usr/lib/0ad"
+
+  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"
+}
+
+# Fails
+#check() {
+#  cd "$srcdir/$pkgname-$_pkgver"
+#  LD_LIBRARY_PATH=binaries/system binaries/system/test
+#}


[arch-commits] Commit in 0ad/repos (2 files)

2017-11-12 Thread Evangelos Foutras
Date: Sunday, November 12, 2017 @ 13:32:49
  Author: foutrelis
Revision: 266345

archrelease: copy trunk to community-staging-x86_64

Added:
  0ad/repos/community-staging-x86_64/
  0ad/repos/community-staging-x86_64/PKGBUILD
(from rev 266344, 0ad/trunk/PKGBUILD)

--+
 PKGBUILD |   60 
 1 file changed, 60 insertions(+)

Copied: 0ad/repos/community-staging-x86_64/PKGBUILD (from rev 266344, 
0ad/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2017-11-12 13:32:49 UTC (rev 266345)
@@ -0,0 +1,60 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase 
+# Contributor: t3ddy  
+# Contributor: Adrián Chaves Fernández (Gallaecio) 
+pkgname=0ad
+pkgver=a22
+_pkgver=0.0.22-alpha
+pkgrel=3
+pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
+arch=('i686' 'x86_64')
+url="http://play0ad.com/;
+license=('GPL2' 'CCPL')
+depends=('binutils' 'boost-libs' 'curl' 'enet' 'libogg' 'libpng' 'libvorbis'
+ 'libxml2' 'openal' 'sdl2' 'wxgtk' 'zlib' 'libgl' '0ad-data' 'glu'
+ 'gloox' 'miniupnpc' 'icu' 'nspr')
+makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm')
+source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz;)
+sha512sums=('3f917e77c6cc1d3fb585c98950db6eab3f5895ba3db41a8737f8172c769b5582689b436cab31eeafecce0e9639ee456afc7b78ebb03435b06512eb9fe7393771')
+
+prepare() {
+  cd "$srcdir/$pkgname-$_pkgver/"
+  sed -i "s/env python/env python2/g" 
libraries/source/cxxtest-4.4/bin/cxxtestgen
+}
+
+build() {
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces"
+
+  unset CPPFLAGS # for le spidermonkey
+
+  ./update-workspaces.sh \
+  --bindir=/usr/bin \
+  --libdir=/usr/lib/0ad \
+  --datadir=/usr/share/${pkgname}/data
+
+  cd "$srcdir/$pkgname-$_pkgver/build/workspaces/gcc"
+
+  make
+}
+
+package() {
+  install -d "${pkgdir}"/usr/{bin,lib/0ad,share/"${pkgname}"/data}
+  cd "$srcdir/$pkgname-$_pkgver"
+
+  install -Dm755 binaries/system/pyrogenesis "${pkgdir}/usr/bin"
+  install -Dm755 binaries/system/*.so "${pkgdir}/usr/lib/0ad"
+
+  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"
+}
+
+# Fails
+#check() {
+#  cd "$srcdir/$pkgname-$_pkgver"
+#  LD_LIBRARY_PATH=binaries/system binaries/system/test
+#}