[arch-commits] Commit in springlobby/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat Dec 26 22:37:25 UTC 2020
Date: Saturday, December 26, 2020 @ 22:37:24
Author: svenstaro
Revision: 793162
upgpkg: springlobby 0.271-1
Modified:
springlobby/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++++--------------
1 file changed, 10 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-26 22:37:07 UTC (rev 793161)
+++ PKGBUILD 2020-12-26 22:37:24 UTC (rev 793162)
@@ -2,8 +2,8 @@
# Contributor: DuGi <dugi at irc.pl>
pkgname=springlobby
-pkgver=0.270
-pkgrel=4
+pkgver=0.271
+pkgrel=1
pkgdesc="A free cross-platform lobby client for the Spring RTS project"
arch=('x86_64')
url="http://springlobby.info/"
@@ -11,39 +11,35 @@
depends=('hicolor-icon-theme' 'wxgtk3' 'curl' 'libtorrent-rasterbar' 'boost-libs'
'alure' 'libsm')
optdepends=('sdl' 'sdl_sound' 'sdl_mixer')
-makedepends=('boost' 'cmake' 'git')
+makedepends=('boost' 'cmake' 'git' 'ninja')
source=("git+https://github.com/springlobby/springlobby.git#tag=$pkgver"
- https://github.com/springlobby/springlobby/commit/252c4cb156c1442ed9b4faec3f26265bc7c295ff.patch
"git+https://github.com/spring/pr-downloader.git")
sha512sums=('SKIP'
- '02347b50bf7ac73f128623edc318c534bfda7cd88415f46e6407fc46d4971b5809a7abf608e4c683f6c91879a8c9d399aa982e3c8db99109cc397c64220c2dab'
'SKIP')
prepare() {
cd $pkgname
- patch -Np1 -i "${srcdir}"/252c4cb156c1442ed9b4faec3f26265bc7c295ff.patch
-
git submodule init
git config submodule."src/downloader/lib".url "$srcdir"/pr-downloader
git submodule update
-
- mkdir build
}
build() {
- cd $pkgname/build
+ cd $pkgname
- cmake .. \
+ cmake \
+ -GNinja \
+ -Bbuild \
-DCMAKE_INSTALL_PREFIX=/usr \
-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3
- make
+ ninja -C build
}
package() {
- cd $pkgname/build
+ cd $pkgname
- DESTDIR="$pkgdir" make install
+ DESTDIR="$pkgdir" ninja -C build install
}
# vim: sw=2:ts=2 et:
More information about the arch-commits
mailing list