blob: 89c077add5db1758f7d3bfd54e6e238dce4a8aeb (
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
|
# Maintainer: Sol Bekic <s+aur at s-ol dot nu>
pkgname="velocidrone"
pkgver=1.17.1
pkgrel=3
pkgdesc="a fast paced multi-player and single player FPV drone racing simulator"
url="https://www.velocidrone.com/"
arch=('x86_64')
license=('proprietary')
makedepends=('qt5-base' 'boost')
depends=()
OPTIONS=(!strip)
# to build this, you need velocidrone.zip from the official site's download section.
# after purchasing, log in and download the Debian file from here:
# https://www.velocidrone.com/download/launcher?id=debian
# and place velocidrone.zip next to this PKGBUILD when building.
source=("git+https://github.com/patchkit-net/patchkit-launcher-qt.git"
"velocidrone.zip::local://velocidrone.zip"
"velocidrone.png::https://velocidrone.com/assets/images/VelocidroneLogoWeb.png"
"velocidrone.desktop")
md5sums=('SKIP'
'74b07b8d820753bb436259b7620de9c4'
'e176f8bb5bded2510b7368fcb7c99ce6'
'85bc86aef45aa4be289fac68506330de')
build() {
cd patchkit-launcher-qt
export PK_LAUNCHER_BOOST_LIBDIR=/usr/lib
qmake # CONFIG+=debug
make
}
package() {
install -Dm755 patchkit-launcher-qt/app/Launcher "$pkgdir"/usr/share/velocidrone/Launcher
install -Dm644 launcher.dat "$pkgdir"/usr/share/velocidrone/launcher.dat
install -Dm644 velocidrone.png "$pkgdir"/usr/share/icons/hicolor/48x48/apps/velocidrone.png
install -Dm644 velocidrone.desktop "$pkgdir"/usr/share/applications/velocidrone.desktop
mkdir -p "$pkgdir"/usr/bin
ln -s /usr/share/velocidrone/Launcher "$pkgdir"/usr/bin/velocidrone
}
|