blob: 0f46437a2fc716b98c7bfe46838c1921409937e6 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
NEED_PYTHON="2.4"
inherit distutils
DESCRIPTION="Ncurses RSS client"
HOMEPAGE="http://www.codezen.org/canto/"
SRC_URI="http://codezen.org/static/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="sys-libs/ncurses"
src_install() {
sed -i "s:SETUPPY_SET_MAN_PATH:\"\":g" "${S}/canto/cfg.py" || die
sed -i "s:SETUPPY_SET_BIN_PATH:\"/usr/bin/\":g" "${S}/canto/cfg.py" || die
sed -i "s:/canto.1:canto:g" "${S}/canto/gui.py" || die
distutils_src_install
}
pkg_postinst() {
ewarn "NOTE: If you're updating from a previous version canto <= 0.4.1"
ewarn "you must 'rm -rf ~/.canto/feeds' as the on-disk format has"
ewarn "changed. Sorry for the inconvenience."
}
|