blob: dc58ccb6b270d10dd9de6d1067c16841415fe577 (
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
50
51
|
# Maintainer: PureTryOut
pkgname=horizon-launcher-git
pkgver=r739.ad2d3c6
pkgrel=1
epoch=
pkgdesc="A customizable, cross-platform and open-source launcher for launching all your games on Steam and other gaming services"
arch=('x86_64')
url="http://launchhorizon.com"
license=('MIT')
groups=()
depends=('qt5-base' 'qt5-tools' 'qt5-webkit')
makedepends=('git' 'cmake' 'make' 'boost')
checkdepends=()
optdepends=()
provides=('horizon-launcher')
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=('horizon-launcher-git::git+https://github.com/horizonlauncher/client.git')
noextract=()
md5sums=('SKIP')
validpgpkeys=()
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$pkgname"
if [[ -d build ]]; then
rm -rf build
fi
mkdir build && cd build
cmake ..
make $MAKEFLAGS
}
package() {
cd "$pkgname"
install -Dm755 build/HorizonLauncher "$pkgdir/usr/bin/horizon-launcher"
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
cd .. && rm -rf build
}
|