summaryrefslogtreecommitdiff
path: root/community-staging/springlobby/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-10 00:01:37 +0000
committerroot <root@rshg054.dnsready.net>2012-07-10 00:01:37 +0000
commit0615a909b089a81d068ae10517ceff31dabfece1 (patch)
tree6e5d23671bbee08a27827c126237a47ff9d9c0da /community-staging/springlobby/PKGBUILD
parent78eac58df0ec18da4bfd73868668dcaea99fd008 (diff)
Tue Jul 10 00:01:37 UTC 2012
Diffstat (limited to 'community-staging/springlobby/PKGBUILD')
-rw-r--r--community-staging/springlobby/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/community-staging/springlobby/PKGBUILD b/community-staging/springlobby/PKGBUILD
new file mode 100644
index 000000000..9e792f136
--- /dev/null
+++ b/community-staging/springlobby/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 73520 2012-07-09 01:15:30Z svenstaro $
+# 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: