22 lines
622 B
Bash
22 lines
622 B
Bash
# Maintainer: Zergling_man, from fedora.email
|
|
|
|
pkgname=swat-codegen
|
|
pkgver=1.0.6
|
|
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 class gun armour trait spec talent codegen.sh ${pkgdir}/opt/swat-codegen
|
|
ln -s /opt/swat-codegen/codegen.sh /${pkgdir}/usr/bin/rcpd
|
|
}
|