void-packages/srcpkgs/LanguageTool/template

25 lines
955 B
Bash

# Template file for 'LanguageTool'
pkgname=LanguageTool
version=5.8
revision=1
depends="virtual?java-environment"
short_desc="Checks your writing in more than 20 languages"
maintainer="Stacy Harper <contact@stacyhaper.net>"
license="LGPL-2.1-or-later"
homepage="https://www.languagetool.org/"
distfiles="https://www.languagetool.org/download/LanguageTool-${version}.zip
https://raw.githubusercontent.com/archlinux/svntogit-community/packages/languagetool/trunk/languagetool.sh"
checksum="20913a50eb4568fdc727066eee8aab833f52b626710fc9e0213c3f1098bfdee3
009c0a65a978ad11ac097edd4be64688a2c80281b201495eff9ab667c5b0f0fe"
skip_extraction="languagetool.sh"
do_install() {
vmkdir usr/bin
vmkdir usr/share/java/languagetool
vcopy "*.jar" /usr/share/java/languagetool
vcopy "libs/*.jar" /usr/share/java/languagetool
rm -rf *.jar libs
vcopy "$wrksrc" /usr/share/languagetool/
vbin ${XBPS_SRCDISTDIR}/${pkgname}-${version}/languagetool.sh languagetool
}