diff options
author | adrian | 2015-10-22 16:46:12 +0300 |
---|---|---|
committer | adrian | 2015-10-22 16:46:12 +0300 |
commit | 713917c18a57f1db609429398d0148f92fb3db0c (patch) | |
tree | b93f1d8e6878fedf327ec644db141f6771b67352 /PKGBUILD | |
download | aur-713917c18a57f1db609429398d0148f92fb3db0c.tar.gz |
LibreOffice Romanian Dictionary Pack
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..9fa765599476 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +pkgname=libreoffice-extension-romanian-dictionary-pack +_pkgname=dict-ro +pkgver=1.7 +pkgrel=1 +pkgdesc="LibreOffice extension that provides Romanian Dictionary Pack (spell checker, hyphenation, thesaurus)" +arch=('any') +url="http://extensions.openoffice.org/en/project/romanian-dictionary-pack-spell-checker-hyphenation-thesaurus" +license=('LGPL') +groups=('libreoffice-extensions') +epends=('libreoffice' 'java-runtime') +makedepends=('unzip') +noextract=(${source[@]##*/}) +source=('http://heanet.dl.sourceforge.net/project/aoo-extensions/1392/10/dict-ro.1.7.oxt') + +md5sums=('c7e22272fd8de1d50fe3b077153be274') + +package() { + _DESTDIR="${pkgdir}/usr/lib/libreoffice/share/extensions/${_pkgname}/" + _ver=".1.7" + install -dm755 "${_DESTDIR}" + unzip -q "$srcdir"/${_pkgname}${_ver}.oxt -d "${_DESTDIR}" + chmod -R g-w,o-w "${_DESTDIR}" +} |