diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0ec90452168a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: 3ED <krzysztof1987 /at/ gmail /dot/ com> +# Contributor: jtts + +pkgname=libreoffice-extension-languagetool +_pkgname=languagetool +pkgver=2.9.1 +pkgrel=1 +pkgdesc="An Open Source style and grammar checker (30 languages)" +arch=('any') +url="http://www.languagetool.org/" +license=('LGPL') +groups=('libreoffice-extensions') +depends=('libreoffice') +source=("http://www.languagetool.org/download/LanguageTool-${pkgver}.oxt") +noextract=("LanguageTool-${pkgver}.oxt") +sha512sums=('a3c848218aa65bb8b84e78a8d4374e28988736addc55de10307a9d6c8b8762081cf2736892a3d7adf714376a4508a80f3e52844540551fde6497596cb56e5099') + +package() { + _DESTDIR="${pkgdir}/usr/lib/libreoffice/share/extensions/${_pkgname}/" + install -dm755 "${_DESTDIR}" + bsdtar -xf LanguageTool-${pkgver}.oxt -C "${_DESTDIR}" + chmod -R a=r,a+X,u+w "${_DESTDIR}" +} |