summaryrefslogtreecommitdiff
path: root/community-testing/springlobby
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-17 00:01:52 +0000
committerroot <root@rshg054.dnsready.net>2012-07-17 00:01:52 +0000
commit412d061bfbf23d1e908eed3f8405b1af46fb1ba8 (patch)
treeee137173c889a2b7279200c20b168f9d9b9fdd64 /community-testing/springlobby
parent50a1eb604b2d5503a06d56b76347faa581160245 (diff)
Tue Jul 17 00:01:52 UTC 2012
Diffstat (limited to 'community-testing/springlobby')
-rw-r--r--community-testing/springlobby/PKGBUILD44
-rw-r--r--community-testing/springlobby/springlobby.desktop10
-rw-r--r--community-testing/springlobby/springlobby.install11
-rw-r--r--community-testing/springlobby/springlobby.pngbin0 -> 5819 bytes
4 files changed, 65 insertions, 0 deletions
diff --git a/community-testing/springlobby/PKGBUILD b/community-testing/springlobby/PKGBUILD
new file mode 100644
index 000000000..697e4d62e
--- /dev/null
+++ b/community-testing/springlobby/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 73776 2012-07-15 13:20:59Z ibiru $
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: DuGi <dugi@irc.pl>
+
+pkgname=springlobby
+pkgver=0.147
+pkgrel=2
+pkgdesc="A free cross-platform lobby client for the Spring RTS project."
+arch=('i686' 'x86_64')
+url="http://springlobby.info/"
+license=('GPL2')
+depends=('hicolor-icon-theme' 'wxgtk' 'curl' 'libtorrent-rasterbar' 'boost-libs')
+optdepends=('sdl' 'sdl_sound' 'sdl_mixer')
+makedepends=('boost' 'asio' 'cmake')
+install=springlobby.install
+source=(http://www.springlobby.info/tarballs/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('1dd17f3f573d40b10b66bdbdc77181f0')
+
+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.install b/community-testing/springlobby/springlobby.install
new file mode 100644
index 000000000..1a05f573e
--- /dev/null
+++ b/community-testing/springlobby/springlobby.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/community-testing/springlobby/springlobby.png b/community-testing/springlobby/springlobby.png
new file mode 100644
index 000000000..89c7ab0ac
--- /dev/null
+++ b/community-testing/springlobby/springlobby.png
Binary files differ