summaryrefslogtreecommitdiff
path: root/community/springlobby
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-12-29 02:13:48 -0800
committerroot <root@rshg054.dnsready.net>2012-12-29 02:13:48 -0800
commit5dd7ed82e788ebad2e920e0f2db7468cc6547cfe (patch)
treef467412e09912ababcd8fe6c05193d829f514dcd /community/springlobby
parent3009e8addb4a894329bf8ab3e8fb763361833978 (diff)
Sat Dec 29 02:10:20 PST 2012
Diffstat (limited to 'community/springlobby')
-rw-r--r--community/springlobby/PKGBUILD29
1 files changed, 14 insertions, 15 deletions
diff --git a/community/springlobby/PKGBUILD b/community/springlobby/PKGBUILD
index 5b5ca982e..026aee2ae 100644
--- a/community/springlobby/PKGBUILD
+++ b/community/springlobby/PKGBUILD
@@ -1,31 +1,31 @@
-# $Id: PKGBUILD 74012 2012-07-18 01:09:14Z ibiru $
+# $Id: PKGBUILD 81745 2012-12-28 07:48:09Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: DuGi <dugi@irc.pl>
pkgname=springlobby
-pkgver=0.147
-pkgrel=2
+pkgver=0.157
+pkgrel=1
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')
+depends=('hicolor-icon-theme' 'wxgtk' 'curl' 'libtorrent-rasterbar' 'boost-libs' 'alure')
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')
+md5sums=('2771aeee0eaff69218d5abc0e9cc18de')
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
+ # We always use multithreaded boost libs in Arch with no special prefix but lesser
+ # distros have that prefix so this check fails.
+ sed -i 's/ .*-mt//g' $srcdir/$pkgname-$pkgver/src/lsl/src/lsl/CMakeLists.txt
+ sed -i 's/ .*-mt//g' $srcdir/$pkgname-$pkgver/src/lsl/src/lslutils/CMakeLists.txt
cmake . \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DOPTION_SOUND=false
+ -DCMAKE_INSTALL_PREFIX=/usr
make
}
@@ -33,12 +33,11 @@ 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
+ # these conflict with files in the spring package
+ rm $pkgdir/usr/include/spring/Downloader/pr-downloader.h
+ rm $pkgdir/usr/lib/libpr-downloader_static.a
+ rm $pkgdir/usr/lib/pkgconfig/libspringdownloader.pc
}
# vim: sw=2:ts=2 et: