New package: LanguageTool-4.8

This commit is contained in:
Reed Wade 2020-01-09 23:30:17 +01:00 committed by Piotr
parent ea55f9f061
commit ebc6dbf310

View file

@ -0,0 +1,26 @@
# Template file for 'LanguageTool'
pkgname=LanguageTool
version=4.8
revision=1
archs=noarch
hostmakedepends="unzip"
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://git.archlinux.org/svntogit/community.git/plain/trunk/languagetool.sh?h=packages/languagetool"
checksum="b4775e88fd90d6389f86023600c4c0e16a9cc00cfe8f093bf1f0c2bbf2a1904d
009c0a65a978ad11ac097edd4be64688a2c80281b201495eff9ab667c5b0f0fe"
skip_extraction="languagetool"
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
}