summaryrefslogtreecommitdiff
blob: a4c9bb7a912d0e6b6cbf42ace5269971b210c63e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit multilib

DESCRIPTION="Converting documents from old Vietnamese encodings to Unicode"
HOMEPAGE="http://extensions.libreoffice.org/extension-center/${PN}/"
SRC_URI="http://extensions.libreoffice.org/extension-center/${PN}/releases/${PV}/${PN}-${PV}.oxt"
INSTDIR="/usr/$(get_libdir)/libreoffice/share/extensions/${PN}"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ppc -sparc x86"
IUSE=""
RDEPEND="virtual/ooo"
DEPEND="${RDEPEND}"

src_compile() {
unzip ${DISTDIR}/${PN}-${PV}.oxt -d ${WORKDIR}
}
src_install() {
	insinto "${INSTDIR}"
	doins -r ${WORKDIR}/*
}