summaryrefslogtreecommitdiff
blob: 515ddccad982b9ac79aa1f07f4cddd80bd2802bb (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
# Copyright 1999-2008 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.5 2008/12/18 14:52:40 beandog 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
	<app-text/sword-1.5.11"

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"
}