[arch-commits] Commit in springlobby/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Jun 8 17:37:29 UTC 2021
Date: Tuesday, June 8, 2021 @ 17:37:28
Author: foutrelis
Revision: 959765
archrelease: copy trunk to community-staging-x86_64
Added:
springlobby/repos/community-staging-x86_64/
springlobby/repos/community-staging-x86_64/PKGBUILD
(from rev 959764, springlobby/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: springlobby/repos/community-staging-x86_64/PKGBUILD (from rev 959764, springlobby/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-06-08 17:37:28 UTC (rev 959765)
@@ -0,0 +1,45 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: DuGi <dugi at irc.pl>
+
+pkgname=springlobby
+pkgver=0.271
+pkgrel=2
+pkgdesc="A free cross-platform lobby client for the Spring RTS project"
+arch=('x86_64')
+url="http://springlobby.info/"
+license=('GPL2')
+depends=('hicolor-icon-theme' 'wxgtk3' 'curl' 'libtorrent-rasterbar' 'boost-libs'
+ 'alure' 'libsm')
+optdepends=('sdl' 'sdl_sound' 'sdl_mixer')
+makedepends=('boost' 'cmake' 'git' 'ninja')
+source=("git+https://github.com/springlobby/springlobby.git#tag=$pkgver"
+ "git+https://github.com/spring/pr-downloader.git")
+sha512sums=('SKIP'
+ 'SKIP')
+
+prepare() {
+ cd $pkgname
+
+ git submodule init
+ git config submodule."src/downloader/lib".url "$srcdir"/pr-downloader
+ git submodule update
+}
+
+build() {
+ cd $pkgname
+
+ cmake \
+ -GNinja \
+ -Bbuild \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3
+ ninja -C build
+}
+
+package() {
+ cd $pkgname
+
+ DESTDIR="$pkgdir" ninja -C build install
+}
+
+# vim: sw=2:ts=2 et:
More information about the arch-commits
mailing list