blob: cd38ac719a698f616b9bcb206edcbaf8b99f6b85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/zim/zim-0.20.ebuild,v 1.1 2007/09/27 19:01:16 drac Exp $
inherit fdo-mime perl-module
MY_P=${P/z/Z}
DESCRIPTION="A desktop wiki"
HOMEPAGE="http://pardus-larus.student.utwente.nl/~pardus/projects/zim"
SRC_URI="http://pardus-larus.student.utwente.nl/~pardus/downloads/Zim/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="spell trayicon"
RDEPEND=">=dev-lang/perl-5.8
>=x11-libs/gtk+-2.4
virtual/perl-Storable
virtual/perl-File-Spec
dev-perl/File-BaseDir
dev-perl/File-MimeInfo
dev-perl/File-DesktopEntry
dev-perl/gtk2-perl
trayicon? ( dev-perl/gtk2-trayicon )
spell? ( dev-perl/gtk2-spell )"
DEPEND="${RDEPEND}"
S="${WORKDIR}"/${MY_P}
PATCHES="${FILESDIR}/${P}-disable-update-desktop-database.patch"
pkg_postinst() {
perl-module_pkg_postinst
fdo-mime_desktop_database_update
}
pkg_postrm() {
perl-module_pkg_postrm
fdo-mime_desktop_database_update
}
|