From ebc6dbf3104ea41878991d472e1bead61cedb076 Mon Sep 17 00:00:00 2001 From: Reed Wade Date: Thu, 9 Jan 2020 23:30:17 +0100 Subject: [PATCH] New package: LanguageTool-4.8 --- srcpkgs/LanguageTool/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/LanguageTool/template diff --git a/srcpkgs/LanguageTool/template b/srcpkgs/LanguageTool/template new file mode 100644 index 0000000000..a73cc80c9e --- /dev/null +++ b/srcpkgs/LanguageTool/template @@ -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 " +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 +}