summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e92033aef5cf2f67e32d067ae79c359c498e1a48 (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: Vhou-Atroph <vhouatroph@proton.me>
pkgname="tt-damage-calculator"
pkgver="4.3.2"
pkgrel=1
epoch=
pkgdesc="A damage calculator for Toontown Rewritten"
arch=(
"x86_64")
url="https://vhou.gloop.group/projects/gagcalc"
license=('GPL-3.0-only')
groups=()
depends=(
"python"
"tk")
makedepends=(
"cargo"
"maturin"
"python-installer"
"patchelf"
"python-wheel")
checkdepends=()
optdepends=(
"xdg-utils: in-app settings opening support")
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("git+https://github.com/Vhou-Atroph/$pkgname.git#tag=V$pkgver")
noextract=()
sha256sums=("SKIP")
validpgpkeys=()

build() {
	cd "$srcdir/$pkgname"
	maturin build --release
}

package() {
	cd "$srcdir/$pkgname"
	python -m installer  --destdir="$pkgdir/" target/wheels/*.whl 
}