summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 49ac8955be127302f78ae85d4b79a3e0d550d081 (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
# 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: Sathya Pramodh <sathyapramodh17@gmail.com>
pkgname=resetti
_destdir="/usr/bin"
_rawurl="https://raw.githubusercontent.com/woofdoggo/resetti/main"
pkgver="0.4.0"
pkgrel=1
pkgdesc="resetti is a Linux-compatible reset macro for Minecraft speedruns. It supports
a variety of different resetting styles, categories, and Minecraft versions."
arch=('x86_64' 'i686')
url="https://www.github.com/woofdoggo/resetti"
license=('GPL3')
groups=()
depends=()
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
source=("$url/releases/download/v$pkgver/resetti"
	"$_rawurl/.version"
	"$_rawurl/internal/cfg/default.toml")
noextract=()
md5sums=('SKIP' 'SKIP' 'SKIP')
validategpgkeys=()

pkgver(){
	cat .version
}

package() {
	# TODO: Add bench script and scene-setup.lua export after it is upstreamed.
	cp resetti $_destdir
	if ![ -d ~/.config/resetti ]
	then
		mkdir -p ~/.config/resetti
	fi
	cp -p default.toml ~/.config/resetti
}