28 lines
805 B
Bash
28 lines
805 B
Bash
# Template file for 'kickassembler'
|
|
pkgname=kickassembler
|
|
version=4.19
|
|
revision=1
|
|
archs=noarch
|
|
create_wrksrc=yes
|
|
depends="virtual?java-environment"
|
|
hostmakedepends="unzip"
|
|
short_desc="A combination of 6510 assembler and high level script language"
|
|
maintainer="Jakub Skrzypnik <jakub.skrzypnik@interia.pl>"
|
|
license="GPL-2"
|
|
homepage="http://www.theweb.dk/KickAssembler"
|
|
distfiles="http://www.theweb.dk/KickAssembler/KickAssembler4.19.zip"
|
|
checksum=d55977be83f38d6fbd3c9b87a189298baf03c4b241cbad239194e3e1a22e9184
|
|
|
|
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 ${pkgname}-${version}.jar
|
|
}
|
|
|