blob: 86f72c1e91ba256d509aeb37b048fdaf84ca7ce9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
pkgname=powbot
pkgver=latest
pkgrel=1
pkgdesc='A bot client for OldSchool RuneScape'
arch=('any')
url='https://powbot.org'
license=('custom')
depends=('java-runtime' 'bash')
noextract=("${pkgname}-${pkgver}.tar.gz")
makedepends=('gendesk')
source=("${pkgname}-${pkgver}.jar::https://powbot.org/game/PowBotLoader.jar"
'LICENSE')
sha256sums=('SKIP' 'SKIP')
package() {
echo "#!/bin/sh
exec /usr/bin/java -jar '/usr/share/java/powbot/powbot.jar' \"\$@\"" > "powbot"
install -Dm755 ${pkgname}-${pkgver}.jar "${pkgdir}/usr/share/java/powbot/powbot.jar"
install -Dm755 powbot "${pkgdir}/usr/bin/powbot"
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|