-
Notifications
You must be signed in to change notification settings - Fork 2.2k
/
Copy pathtemplate
24 lines (23 loc) · 930 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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
}