summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 91a5b0a594506393a3ebfc8560ece3473d038d6f (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
52
53
54
55
56
57
58
59
60
61
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: Danny Piper <djpiper28@gmail.com>
pkgname=squire-desktop-git
pkgver=0.1
pkgrel=1
epoch=
pkgdesc="A tournament management software for MTG brought to you by Monarch."
arch=("x86_64"
  "x86")
url="https://github.com/MonarchDevelopment/SquireDesktop"
license=('AGPL3')
groups=()
depends=()
makedepends=("cmake"
  "gcc"
  "rustup"
  "cbindgen"
  "python" 
  "qt5-base" 
  "qt5-tools")
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=()
noextract=()
md5sums=()
validpgpkeys=("BE8A6C62B5ABA24102938442F622383DDDDE44BF")

prepare() {
  rm -rf ./SquireDesktop
  git clone https://github.com/MonarchDevelopment/SquireDesktop --recursive
}

build() {
  cd ./SquireDesktop
  mkdir -p ./build
  cd ./build
  rm -rf *
	cmake .. -DCMAKE_BUILD_TYPE=DEBUG
  cmake --build . -j
}

check() {
  true
}

package() {
  cd ./SquireDesktop
  cd ./build
  sudo cp ./SquireDesktop /usr/bin
}