25 lines
930 B
Bash
25 lines
930 B
Bash
# Template file for 'LanguageTool'
|
|
pkgname=LanguageTool
|
|
version=4.8
|
|
revision=2
|
|
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
|
|
}
|