diff options
Diffstat (limited to 'community/springlobby/PKGBUILD')
-rw-r--r-- | community/springlobby/PKGBUILD | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/community/springlobby/PKGBUILD b/community/springlobby/PKGBUILD index b0e199b98..68efccb52 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' 'mips64el') 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: |