rcpd/swat-codegen/PKGBUILD

21 lines
593 B
Bash
Raw Normal View History

2024-11-03 15:35:53 +11:00
# Maintainer: Zergling_man, from fedora.email
pkgname=swat-codegen
2024-11-03 16:32:44 +11:00
pkgver=1.0.4
2024-11-03 15:35:53 +11:00
pkgrel=1
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 swat_* codegen.sh ${pkgdir}/opt/swat-codegen
ln -s /opt/swat-codegen/codegen.sh /${pkgdir}/usr/bin/rcpd
}