void-packages/srcpkgs/kickassembler/template

30 lines
886 B
Bash

# Template file for 'kickassembler'
pkgname=kickassembler
version=4.19
revision=2
create_wrksrc=yes
hostmakedepends="unzip"
depends="virtual?java-environment"
short_desc="Combination of 6510 assembler and high level script language"
maintainer="Orphaned <orphan@voidlinux.org>"
license="custom:source-not-found"
homepage="http://www.theweb.dk/KickAssembler"
distfiles="http://www.theweb.dk/KickAssembler/KickAssembler$version.zip"
checksum=d55977be83f38d6fbd3c9b87a189298baf03c4b241cbad239194e3e1a22e9184
repository=nonfree
# I couldn't find its license, eula, source
# Let's not play games of politics.
restricted=yes
do_build() {
mv KickAss.jar ${pkgname}-${version}.jar
echo "#!/bin/sh" > kickass
echo "java -jar /usr/share/java/${pkgname}-${version}.jar \$@" >> kickass
chmod 755 kickass
}
do_install() {
vbin kickass
vinstall ${pkgname}-${version}.jar 644 usr/share/java
}