summaryrefslogtreecommitdiff
blob: be516b04b2834a7a95cd9dbb3db391a4cffede9d (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-2006 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.3 2006/06/19 19:16:08 ticho 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() {
	einfo "It is recommended that you have modules installed for sword."
	einfo "Gentoo provides the \"sword-modules\" package for convenience:"
	einfo "\temerge sword-modules"
}