Date: Monday, December 7, 2015 @ 09:04:46 Author: foutrelis Revision: 149743
archrelease: copy trunk to community-staging-x86_64, community-staging-i686 Added: tesseract-game/repos/community-staging-i686/ tesseract-game/repos/community-staging-i686/PKGBUILD (from rev 149742, tesseract-game/trunk/PKGBUILD) tesseract-game/repos/community-staging-i686/tesseract.install (from rev 149742, tesseract-game/trunk/tesseract.install) tesseract-game/repos/community-staging-i686/tesseract.sh (from rev 149742, tesseract-game/trunk/tesseract.sh) tesseract-game/repos/community-staging-x86_64/ tesseract-game/repos/community-staging-x86_64/PKGBUILD (from rev 149742, tesseract-game/trunk/PKGBUILD) tesseract-game/repos/community-staging-x86_64/tesseract.install (from rev 149742, tesseract-game/trunk/tesseract.install) tesseract-game/repos/community-staging-x86_64/tesseract.sh (from rev 149742, tesseract-game/trunk/tesseract.sh) --------------------------------------------+ community-staging-i686/PKGBUILD | 51 +++++++++++++++++++++++++++ community-staging-i686/tesseract.install | 14 +++++++ community-staging-i686/tesseract.sh | 6 +++ community-staging-x86_64/PKGBUILD | 51 +++++++++++++++++++++++++++ community-staging-x86_64/tesseract.install | 14 +++++++ community-staging-x86_64/tesseract.sh | 6 +++ 6 files changed, 142 insertions(+) Copied: tesseract-game/repos/community-staging-i686/PKGBUILD (from rev 149742, tesseract-game/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-12-07 08:04:46 UTC (rev 149743) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Contributor: portals <portals at riseup.net> +# Contributor: novemberist +# Contributor: PyroDevil +# Contributor: giacomogiorgia...@gmail.com + +pkgname=tesseract-game +pkgver=1 +pkgrel=4 +pkgdesc='Smooth FPS with map editing, instagib, DM and CTF' +url='http://tesseract.gg/' +arch=('x86_64' 'i686') +license=('ZLIB') +depends=('libgl' 'sdl2' 'sdl2_image' 'sdl2_mixer' 'libpng' 'zlib' 'hicolor-icon-theme') +makedepends=('subversion' 'gendesk' 'imagemagick') +source=('tesseract::svn://svn.tuxfamily.org/svnroot/tesseract/main#revision=1688' + 'tesseract.sh') +sha256sums=('SKIP' + '34a03fb87b3f3e1f16d1744d42f566a36e67cbdeaee1876281857b341002566b') + +prepare() { + gendesk -f -n --pkgname ${pkgname/-game} --pkgdesc "$pkgdesc" --exec "$pkgname" + for dim in 16 32 48 64 128 256 512; do + convert -resize "${dim}x${dim}" tesseract/media/interface/cube.png "$pkgname$dim.png" 2> /dev/null + done +} + +build() { + make -C tesseract/src +} + +package() { + local n=tesseract + cd "$n" + make -C src install + install -d "$pkgdir/usr/share/$pkgname/" + cp -R media/ config/ "$pkgdir/usr/share/$pkgname" + install -Dm755 bin_unix/native_client "$pkgdir/usr/bin/$n-client" + install -Dm755 bin_unix/native_server "$pkgdir/usr/bin/$n-server" + install -Dm644 "src/readme_$n.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm755 "../$n.sh" "$pkgdir/usr/bin/$pkgname" + install -Dm644 "../$n.desktop" "$pkgdir/usr/share/applications/$n.desktop" + for dim in 16 32 48 64 128 256 512; do + install -Dm644 "../$pkgname$dim.png" \ + "$pkgdir/usr/share/icons/hicolor/${dim}x$dim/apps/$n.png" + done + install -Dm644 "../${pkgname}48.png" "$pkgdir/usr/share/pixmaps/$n.png" +} + +# vim:set ts=2 sw=2 et: Copied: tesseract-game/repos/community-staging-i686/tesseract.install (from rev 149742, tesseract-game/trunk/tesseract.install) =================================================================== --- community-staging-i686/tesseract.install (rev 0) +++ community-staging-i686/tesseract.install 2015-12-07 08:04:46 UTC (rev 149743) @@ -0,0 +1,14 @@ +post_upgrade() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_install() { + post_upgrade +} + +post_remove() { + post_upgrade +} + +# vim:set ts=2 sw=2 et: Copied: tesseract-game/repos/community-staging-i686/tesseract.sh (from rev 149742, tesseract-game/trunk/tesseract.sh) =================================================================== --- community-staging-i686/tesseract.sh (rev 0) +++ community-staging-i686/tesseract.sh 2015-12-07 08:04:46 UTC (rev 149743) @@ -0,0 +1,6 @@ +#!/bin/sh +TESS_BIN=/usr/bin/ +TESS_DATA=/usr/share/tesseract-game/ +TESS_OPTIONS="-u$HOME/.tesseract" +cd "$TESS_DATA" +exec "$TESS_BIN/tesseract-client" "$TESS_OPTIONS" "$@" Copied: tesseract-game/repos/community-staging-x86_64/PKGBUILD (from rev 149742, tesseract-game/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-12-07 08:04:46 UTC (rev 149743) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Contributor: portals <portals at riseup.net> +# Contributor: novemberist +# Contributor: PyroDevil +# Contributor: giacomogiorgia...@gmail.com + +pkgname=tesseract-game +pkgver=1 +pkgrel=4 +pkgdesc='Smooth FPS with map editing, instagib, DM and CTF' +url='http://tesseract.gg/' +arch=('x86_64' 'i686') +license=('ZLIB') +depends=('libgl' 'sdl2' 'sdl2_image' 'sdl2_mixer' 'libpng' 'zlib' 'hicolor-icon-theme') +makedepends=('subversion' 'gendesk' 'imagemagick') +source=('tesseract::svn://svn.tuxfamily.org/svnroot/tesseract/main#revision=1688' + 'tesseract.sh') +sha256sums=('SKIP' + '34a03fb87b3f3e1f16d1744d42f566a36e67cbdeaee1876281857b341002566b') + +prepare() { + gendesk -f -n --pkgname ${pkgname/-game} --pkgdesc "$pkgdesc" --exec "$pkgname" + for dim in 16 32 48 64 128 256 512; do + convert -resize "${dim}x${dim}" tesseract/media/interface/cube.png "$pkgname$dim.png" 2> /dev/null + done +} + +build() { + make -C tesseract/src +} + +package() { + local n=tesseract + cd "$n" + make -C src install + install -d "$pkgdir/usr/share/$pkgname/" + cp -R media/ config/ "$pkgdir/usr/share/$pkgname" + install -Dm755 bin_unix/native_client "$pkgdir/usr/bin/$n-client" + install -Dm755 bin_unix/native_server "$pkgdir/usr/bin/$n-server" + install -Dm644 "src/readme_$n.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm755 "../$n.sh" "$pkgdir/usr/bin/$pkgname" + install -Dm644 "../$n.desktop" "$pkgdir/usr/share/applications/$n.desktop" + for dim in 16 32 48 64 128 256 512; do + install -Dm644 "../$pkgname$dim.png" \ + "$pkgdir/usr/share/icons/hicolor/${dim}x$dim/apps/$n.png" + done + install -Dm644 "../${pkgname}48.png" "$pkgdir/usr/share/pixmaps/$n.png" +} + +# vim:set ts=2 sw=2 et: Copied: tesseract-game/repos/community-staging-x86_64/tesseract.install (from rev 149742, tesseract-game/trunk/tesseract.install) =================================================================== --- community-staging-x86_64/tesseract.install (rev 0) +++ community-staging-x86_64/tesseract.install 2015-12-07 08:04:46 UTC (rev 149743) @@ -0,0 +1,14 @@ +post_upgrade() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_install() { + post_upgrade +} + +post_remove() { + post_upgrade +} + +# vim:set ts=2 sw=2 et: Copied: tesseract-game/repos/community-staging-x86_64/tesseract.sh (from rev 149742, tesseract-game/trunk/tesseract.sh) =================================================================== --- community-staging-x86_64/tesseract.sh (rev 0) +++ community-staging-x86_64/tesseract.sh 2015-12-07 08:04:46 UTC (rev 149743) @@ -0,0 +1,6 @@ +#!/bin/sh +TESS_BIN=/usr/bin/ +TESS_DATA=/usr/share/tesseract-game/ +TESS_OPTIONS="-u$HOME/.tesseract" +cd "$TESS_DATA" +exec "$TESS_BIN/tesseract-client" "$TESS_OPTIONS" "$@"