diff options
author | root <root@rshg054.dnsready.net> | 2011-12-01 23:14:46 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-01 23:14:46 +0000 |
commit | 9e9ab642711f2424f828e21d14b98c45cdef2b29 (patch) | |
tree | 5c1495cfda2b453e377084bad1b20e431e119063 /community-testing/springlobby | |
parent | bc0657f7159d0b01373ecb59afc426b98a172b1e (diff) |
Thu Dec 1 23:14:46 UTC 2011
Diffstat (limited to 'community-testing/springlobby')
-rw-r--r-- | community-testing/springlobby/PKGBUILD | 47 | ||||
-rw-r--r-- | community-testing/springlobby/springlobby.desktop | 10 | ||||
-rw-r--r-- | community-testing/springlobby/springlobby.png | bin | 0 -> 5819 bytes |
3 files changed, 57 insertions, 0 deletions
diff --git a/community-testing/springlobby/PKGBUILD b/community-testing/springlobby/PKGBUILD new file mode 100644 index 000000000..af19ba490 --- /dev/null +++ b/community-testing/springlobby/PKGBUILD @@ -0,0 +1,47 @@ +# $Id: PKGBUILD 59777 2011-11-30 06:36:57Z ibiru $ +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: DuGi <dugi@irc.pl> + +pkgname=springlobby +pkgver=0.139 +pkgrel=3 +pkgdesc="A free cross-platform lobby client for the Spring RTS project." +arch=('i686' 'x86_64') +url="http://springlobby.info/" +license=('GPL2') +depends=('wxgtk' 'curl' 'libtorrent-rasterbar' 'boost-libs') +optdepends=('sdl' 'sdl_sound' 'sdl_mixer') +makedepends=('boost' 'asio' 'cmake') +source=(http://www.springlobby.info/tarballs/${pkgname}-${pkgver}.tar.bz2 + springlobby.desktop + springlobby.png) +md5sums=('48c572117338277068c67ec1ff7d514f' + '45f8b59d033931d02e734fe3bd7777dd' + '1f388187539aeb0358b51995e26ed890') + +build() { + cd $srcdir/${pkgname}-$pkgver + + export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2" + + sed -i 's/boost_system-mt/boost_system/g' $srcdir/$pkgname-$pkgver/CMakeLists.txt + + cmake . \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DOPTION_SOUND=false + make +} + +package() { + cd $srcdir/${pkgname}-$pkgver + + make DESTDIR=$pkgdir install + + install -m755 -d $pkgdir/usr/share/applications + install -m644 $srcdir/springlobby.desktop $pkgdir/usr/share/applications + + install -m755 -d -p $pkgdir/usr/share/pixmaps + install -m644 $srcdir/springlobby.png $pkgdir/usr/share/pixmaps +} + +# vim: sw=2:ts=2 et: diff --git a/community-testing/springlobby/springlobby.desktop b/community-testing/springlobby/springlobby.desktop new file mode 100644 index 000000000..1dce96b90 --- /dev/null +++ b/community-testing/springlobby/springlobby.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +Name=SpringLobby +Comment=Lobby for Spring. An open source RTS with similar gameplay to TA +Exec=springlobby +Icon=springlobby.png +Terminal=false +Type=Application +Categories=Application;Game;StrategyGame; diff --git a/community-testing/springlobby/springlobby.png b/community-testing/springlobby/springlobby.png Binary files differnew file mode 100644 index 000000000..89c7ab0ac --- /dev/null +++ b/community-testing/springlobby/springlobby.png |