Date: Sunday, April 3, 2016 @ 03:14:26 Author: svenstaro Revision: 169310
archrelease: copy trunk to community-x86_64 Added: 0ad/repos/community-x86_64/PKGBUILD (from rev 169309, 0ad/trunk/PKGBUILD) Deleted: 0ad/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 122 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 61 insertions(+), 61 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2016-04-03 01:14:21 UTC (rev 169309) +++ PKGBUILD 2016-04-03 01:14:26 UTC (rev 169310) @@ -1,61 +0,0 @@ -# $Id$ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -# Contributor: t3ddy <t3ddy1988 "at" gmail {dot} com> -# Contributor: Adrián Chaves Fernández (Gallaecio) <adriyeticha...@gmail.com> -pkgname=0ad -pkgver=a20 -_pkgver=0.0.20-alpha -pkgrel=1 -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' 'wxgtk2.8' '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") -md5sums=('3218564020a07ce905a3db84476a3408') - -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 - - export WX_CONFIG=/usr/bin/wx-config-2.8 - ./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 -#} Copied: 0ad/repos/community-x86_64/PKGBUILD (from rev 169309, 0ad/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2016-04-03 01:14:26 UTC (rev 169310) @@ -0,0 +1,61 @@ +# $Id$ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: t3ddy <t3ddy1988 "at" gmail {dot} com> +# Contributor: Adrián Chaves Fernández (Gallaecio) <adriyeticha...@gmail.com> +pkgname=0ad +pkgver=a20 +_pkgver=0.0.20-alpha +pkgrel=2 +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' 'wxgtk2.8' '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") +md5sums=('3218564020a07ce905a3db84476a3408') + +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 + + export WX_CONFIG=/usr/bin/wx-config-2.8 + ./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 +#}