rcpd/swat-codegen/PKGBUILD
2024-11-04 20:25:40 +11:00

22 lines
622 B
Bash

# Maintainer: Zergling_man, from fedora.email
pkgname=swat-codegen
pkgver=1.0.5
pkgrel=2
pkgdesc="A simple CLI interface to RCPDv3, the rank code management service for the game SWAT: Aftermath"
arch=('any')
url=http://rakka.au/contact
license=('WTFPL+nigger')
depends=('jq' 'curl' 'coreutils' 'grep')
source=()
sha256sums=('SKIP') #Don't know how to use this on a repo.
package() {
cd ${pkgdir}
install -d usr/bin opt/swat-codegen
cd ${srcdir}/${pkgname}
chmod a+x codegen.sh
cp class gun armour trait spec talent codegen.sh ${pkgdir}/opt/swat-codegen
ln -s /opt/swat-codegen/codegen.sh /${pkgdir}/usr/bin/rcpd
}