Date: Saturday, January 31, 2015 @ 20:58:30 Author: andyrtr Revision: 126864
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: widelands/repos/community-staging-i686/ widelands/repos/community-staging-i686/PKGBUILD (from rev 126863, widelands/trunk/PKGBUILD) widelands/repos/community-staging-i686/widelands.desktop (from rev 126863, widelands/trunk/widelands.desktop) widelands/repos/community-staging-i686/widelands.png (from rev 126863, widelands/trunk/widelands.png) widelands/repos/community-staging-i686/widelands.sh (from rev 126863, widelands/trunk/widelands.sh) widelands/repos/community-staging-x86_64/ widelands/repos/community-staging-x86_64/PKGBUILD (from rev 126863, widelands/trunk/PKGBUILD) widelands/repos/community-staging-x86_64/widelands.desktop (from rev 126863, widelands/trunk/widelands.desktop) widelands/repos/community-staging-x86_64/widelands.png (from rev 126863, widelands/trunk/widelands.png) widelands/repos/community-staging-x86_64/widelands.sh (from rev 126863, widelands/trunk/widelands.sh) --------------------------------------------+ community-staging-i686/PKGBUILD | 51 +++++++++++++++++++++++++++ community-staging-i686/widelands.desktop | 8 ++++ community-staging-i686/widelands.sh | 3 + community-staging-x86_64/PKGBUILD | 51 +++++++++++++++++++++++++++ community-staging-x86_64/widelands.desktop | 8 ++++ community-staging-x86_64/widelands.sh | 3 + 6 files changed, 124 insertions(+) Copied: widelands/repos/community-staging-i686/PKGBUILD (from rev 126863, widelands/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2015-01-31 19:58:30 UTC (rev 126864) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Arkham <arkham at archlinux dot us> +# Contributor: Christoph Zeiler <rabyte*gmail> + +pkgname=widelands +pkgver=18 +_realver=build${pkgver} +pkgrel=3 +pkgdesc="A realtime strategy game with emphasis on economy and transport" +arch=('i686' 'x86_64') +url="http://widelands.org/" +license=('GPL') +depends=('sdl_mixer' 'sdl_image' 'sdl_net' 'sdl_ttf' 'sdl_gfx' 'lua51' 'glew' 'python2' 'boost-libs') +makedepends=('cmake' 'boost' 'mesa') +source=("https://launchpad.net/widelands/${_realver}/build-${pkgver}/+download/$pkgname-$_realver-src.tar.bz2" + $pkgname.desktop + $pkgname.png + $pkgname.sh) +md5sums=('01efe8db8cd25ffeb4f82b8b4ab6652e' + '15820bf099fd6f16251fe70a75c534bb' + '3dfda7e9ca76ca00dd98d745d0ceb328' + '7cae50aba5ed0cd2cfeea79124637b46') + +build() { + cd $srcdir/$pkgname-$_realver-src + + mkdir -p build/compile && cd build/compile + + cmake ../.. -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DWL_INSTALL_PREFIX=/usr \ + -DWL_INSTALL_DATADIR=share/$pkgname \ + -DWL_INSTALL_BINDIR=bin + make +} + +package() { + depends=(${depends[@]} 'widelands-data') + cd $srcdir/$pkgname-$_realver-src/build/compile + + make DESTDIR="$pkgdir" install + + rm -r $pkgdir/usr/share/widelands/{campaigns,fonts,global,locale,maps,music,pics,scripting,sound,tribes,txts,worlds} + + # Install bin, icon and desktop file + #install -Dm 755 src/$pkgname $pkgdir/usr/share/$pkgname/$pkgname + #install -Dm 755 $srcdir/$pkgname.sh $pkgdir/usr/bin/$pkgname + install -Dm644 $srcdir/$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png + install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop +} Copied: widelands/repos/community-staging-i686/widelands.desktop (from rev 126863, widelands/trunk/widelands.desktop) =================================================================== --- community-staging-i686/widelands.desktop (rev 0) +++ community-staging-i686/widelands.desktop 2015-01-31 19:58:30 UTC (rev 126864) @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Widelands +GenericName=Widelands +Comment=Realtime strategy game +Icon=widelands +Exec=widelands +Type=Application +Categories=Game;StrategyGame; Copied: widelands/repos/community-staging-i686/widelands.png (from rev 126863, widelands/trunk/widelands.png) =================================================================== (Binary files differ) Copied: widelands/repos/community-staging-i686/widelands.sh (from rev 126863, widelands/trunk/widelands.sh) =================================================================== --- community-staging-i686/widelands.sh (rev 0) +++ community-staging-i686/widelands.sh 2015-01-31 19:58:30 UTC (rev 126864) @@ -0,0 +1,3 @@ +#!/bin/sh +cd /usr/share/widelands +./widelands $* Copied: widelands/repos/community-staging-x86_64/PKGBUILD (from rev 126863, widelands/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2015-01-31 19:58:30 UTC (rev 126864) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +# Contributor: Arkham <arkham at archlinux dot us> +# Contributor: Christoph Zeiler <rabyte*gmail> + +pkgname=widelands +pkgver=18 +_realver=build${pkgver} +pkgrel=3 +pkgdesc="A realtime strategy game with emphasis on economy and transport" +arch=('i686' 'x86_64') +url="http://widelands.org/" +license=('GPL') +depends=('sdl_mixer' 'sdl_image' 'sdl_net' 'sdl_ttf' 'sdl_gfx' 'lua51' 'glew' 'python2' 'boost-libs') +makedepends=('cmake' 'boost' 'mesa') +source=("https://launchpad.net/widelands/${_realver}/build-${pkgver}/+download/$pkgname-$_realver-src.tar.bz2" + $pkgname.desktop + $pkgname.png + $pkgname.sh) +md5sums=('01efe8db8cd25ffeb4f82b8b4ab6652e' + '15820bf099fd6f16251fe70a75c534bb' + '3dfda7e9ca76ca00dd98d745d0ceb328' + '7cae50aba5ed0cd2cfeea79124637b46') + +build() { + cd $srcdir/$pkgname-$_realver-src + + mkdir -p build/compile && cd build/compile + + cmake ../.. -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DWL_INSTALL_PREFIX=/usr \ + -DWL_INSTALL_DATADIR=share/$pkgname \ + -DWL_INSTALL_BINDIR=bin + make +} + +package() { + depends=(${depends[@]} 'widelands-data') + cd $srcdir/$pkgname-$_realver-src/build/compile + + make DESTDIR="$pkgdir" install + + rm -r $pkgdir/usr/share/widelands/{campaigns,fonts,global,locale,maps,music,pics,scripting,sound,tribes,txts,worlds} + + # Install bin, icon and desktop file + #install -Dm 755 src/$pkgname $pkgdir/usr/share/$pkgname/$pkgname + #install -Dm 755 $srcdir/$pkgname.sh $pkgdir/usr/bin/$pkgname + install -Dm644 $srcdir/$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png + install -Dm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop +} Copied: widelands/repos/community-staging-x86_64/widelands.desktop (from rev 126863, widelands/trunk/widelands.desktop) =================================================================== --- community-staging-x86_64/widelands.desktop (rev 0) +++ community-staging-x86_64/widelands.desktop 2015-01-31 19:58:30 UTC (rev 126864) @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=Widelands +GenericName=Widelands +Comment=Realtime strategy game +Icon=widelands +Exec=widelands +Type=Application +Categories=Game;StrategyGame; Copied: widelands/repos/community-staging-x86_64/widelands.png (from rev 126863, widelands/trunk/widelands.png) =================================================================== (Binary files differ) Copied: widelands/repos/community-staging-x86_64/widelands.sh (from rev 126863, widelands/trunk/widelands.sh) =================================================================== --- community-staging-x86_64/widelands.sh (rev 0) +++ community-staging-x86_64/widelands.sh 2015-01-31 19:58:30 UTC (rev 126864) @@ -0,0 +1,3 @@ +#!/bin/sh +cd /usr/share/widelands +./widelands $*