summaryrefslogtreecommitdiff
blob: c44501eec791ba0b9af6f5daa3703257d0771338 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/kio-sword/kio-sword-0.2.ebuild,v 1.4 2007/01/05 17:02:23 flameeyes Exp $

inherit kde eutils

DESCRIPTION="a nice kio handler to sword"
HOMEPAGE="http://lukeplant.me.uk/kio-sword/"
SRC_URI="http://lukeplant.me.uk/kio-sword/downloads/${PN}_${PV}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 amd64"
IUSE=""

DEPEND=""
RDEPEND=">=app-text/sword-1.5.8"

S=${WORKDIR}/${PN/-/_}-${PV}

need-kde 3.3

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch sword_1_5_8_fix.patch
}

pkg_postinst() {
	elog "It is recommended that you have modules installed for sword."
	elog "Gentoo provides the \"sword-modules\" package for convenience:"
	elog "\temerge sword-modules"
}