# 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 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. install -Dm0755 resetti "${pkgdir}/usr/bin/${pkgname}" if ! [ -d ~/.config/resetti ] then mkdir -p ~/.config/resetti fi install -Dm0777 default.toml ~/.config/resetti }