void-packages/srcpkgs/helden-software/template

39 lines
1.1 KiB
Bash

# Template file for 'helden-software'
pkgname=helden-software
version=5.5.3
revision=1
_ver="${version}-0_all"
_filename="${pkgname}_${_ver}.deb"
create_wrksrc=yes
build_style=fetch
depends="openjdk-jre"
short_desc="Character generator for the Pen&Paper RPG DSA"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="custom:Proprietary"
homepage="https://www.helden-software.de/"
distfiles="https://online.helden-software.de/rep/pool/main/h/helden-software/${_filename}"
checksum=4bc08118ae1e78942bea543338de1ada17c21ebdb4b7f9e108910df0ba815a04
repository="nonfree"
restricted="yes"
post_extract() {
ar x "${_filename}"
bsdtar -xf data.tar.gz
}
do_install() {
vmkdir usr/lib/helden-software
vmkdir usr/share/applications
vmkdir usr/share/icons
vmkdir etc/default
vlicense usr/share/doc/helden-software/copyright
vbin usr/bin/helden-software
vcopy usr/share/icons/* usr/share/icons
vcopy usr/lib/heldensoftware/helden5.jar usr/lib/helden-software/helden5.jar
vcopy etc/default/helden-software etc/default/helden-software
vcopy usr/share/applications/HeldenSoftware.desktop usr/share/applications/HeldenSoftware.desktop
}