rcpd/swat-codegen/PKGBUILD

22 lines
622 B
Bash
Raw Permalink Normal View History

2024-11-03 15:35:53 +11:00
# Maintainer: Zergling_man, from fedora.email
pkgname=swat-codegen
pkgver=1.0.6
pkgrel=1
2024-11-03 15:35:53 +11:00
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
2024-11-04 20:25:40 +11:00
cp class gun armour trait spec talent codegen.sh ${pkgdir}/opt/swat-codegen
2024-11-03 15:35:53 +11:00
ln -s /opt/swat-codegen/codegen.sh /${pkgdir}/usr/bin/rcpd
}