summaryrefslogtreecommitdiff
blob: 3c5db609231e2cef15e279df2d9d32006ba2801a (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Justin Lambert <jlambert@eml.cc>>
# $Header: /var/cvsroot/gentoo-x86/app-misc/dailystrips/dailystrips-1.0.24.ebuild,v 1.1 2002/05/25 01:37:21 agenkin Exp $

DESCRIPTION="dailystrips automatically downloads your favorite online comics from the web."
HOMEPAGE="http://dailystrips.sourceforge.net/"

DEPEND=">=dev-perl/libwww-perl-5.50"

#SRC_URI="http://prdownloads.sourceforge.net/dailystrips/${P}.tar.gz"
SRC_URI="http://west.dl.sourceforge.net/sourceforge/dailystrips/${P}.tar.gz"

S=${WORKDIR}/${P}

src_unpack() {
	unpack ${A}
	cd ${S}
	cp dailystrips dailystrips.orig
	sed -e "s:/usr/share/dailystrips/strips.def:/etc/strips.def:" \
		dailystrips.orig > dailystrips
}

src_install() {
	dobin dailystrips
	dodoc README BUGS CHANGELOG TODO
	cd ${S}

	keepdir /etc
	insinto /etc
	doins ${S}/strips.def
}