]> Pileus Git - ~andy/sunrise/blobdiff - app-dicts/stardict-ruspack/stardict-ruspack-0.2.ebuild
app-dicts/stardict-ruspack: New ebuild for bug 144451
[~andy/sunrise] / app-dicts / stardict-ruspack / stardict-ruspack-0.2.ebuild
diff --git a/app-dicts/stardict-ruspack/stardict-ruspack-0.2.ebuild b/app-dicts/stardict-ruspack/stardict-ruspack-0.2.ebuild
new file mode 100644 (file)
index 0000000..a5901a2
--- /dev/null
@@ -0,0 +1,21 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+DESCRIPTION="Collection of dicts for stardict."
+HOMEPAGE="http://gnome.msiu.ru/stardict.php"
+SRC_URI="ftp://ftp.msiu.ru/education/FSF-Windows/stardict/dicts/stardict-dicts.exe"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+RDEPEND="app-dicts/stardict"
+
+DEPEND="app-arch/unrar"
+
+src_install() {
+       dodir /usr/share/stardict/dic
+       unrar e "${DISTDIR}/stardict-dicts.exe" "${D}/usr/share/stardict/dic/"
+}