#Maintainer: Dimitris Tzemos <dijemos~at~gmail~dot~com>

pkgname=libreoffice-extension-ancient-greek-dictionary
pkgver=2.1.5
_pkgver=5.1
pkgrel=1dj
source=("https://sourceforge.net/projects/aoo-extensions/files/2313/1/grc.oxt") 
sourcetemplate=http://people.salixos.org/djemos/salix/$pkgname
url="http://extensions.openoffice.org/en/projectrelease/ancient-greek-spell-checker-215"

slackdesc=\
(
 #|-----handy-ruler------------------------------------------------------|
"libreoffice-extension-greek-dictionary (Ancient Greek)"
"Greek dictionary for Ancient Greek spelling from the"
"OpenOffice.org project that works on LibreOffice"
""
"Homepage: http://extensions.services.openoffice.org/en/project/el_dict"
)

build() {
	install -dm755 ${PKG}/usr/lib${LIBDIRSUFFIX}/libreoffice${_pkgver}/share/extensions || return 1
	unzip -q ${SRC}/grc.oxt -d ${PKG}/usr/lib${LIBDIRSUFFIX}/libreoffice${_pkgver}/share/extensions/ancient-greek-dictionary || return 1
}