blob: 9b6927ff2b14e136e91eb9673047e06eda901e5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com >
# Contributor: cleanrock (AT gmail DOT com)
# Contributor: Erdbeerkaese (erdbeerkaese AT gawab DOT com)
# Contributor: DuGi <dugi@irc.pl>
pkgname=springlobby-git
pkgver=0.274.4.g290f1fa73
pkgrel=4
pkgdesc="A free cross-platform lobby client for the Spring RTS project, development version."
arch=('i686' 'x86_64')
url="https://springlobby.springrts.com/"
license=('GPL-2.0-or-later')
depends=('libx11' 'gcc-libs' 'hicolor-icon-theme' 'zlib' 'minizip' 'libpng' 'openal' 'curl' 'glibc' 'libnotify' 'wxwidgets-gtk3' 'wxwidgets-common' 'glib2' 'openssl' 'alure')
makedepends=('boost' 'cmake' 'git')
conflicts=('springlobby')
provides=('springlobby')
source=('git+https://github.com/springlobby/springlobby.git'
'git+https://github.com/spring/pr-downloader.git')
noextract=()
md5sums=('SKIP' 'SKIP')
# options=('!strip' 'debug' '!buildflags')
_gitname="springlobby"
pkgver() {
cd "$srcdir/$_gitname"
# package version is Tag.CommitsSinceTag.CommitId, e.g 0.171.205.g86a3481
git describe --long | sed 's|-|.|g'
}
prepare() {
cd "$srcdir/$_gitname"
git submodule init
git config submodule.src/downloader/lib.url "${srcdir}/pr-downloader"
git submodule--helper update
}
build() {
cd "$srcdir/$_gitname"
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
}
package() {
cd "$srcdir/$_gitname"
make DESTDIR="$pkgdir/" install
}
# vim: sw=2:ts=2 et:
|