app-misc/dailystrips: EAPI 6 bump
authorAmy Liffey <amynka@gentoo.org>
Thu, 17 Aug 2017 13:58:13 +0000 (15:58 +0200)
committerAmy Liffey <amynka@gentoo.org>
Thu, 17 Aug 2017 14:05:32 +0000 (16:05 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

app-misc/dailystrips/dailystrips-1.0.28-r3.ebuild [new file with mode: 0644]

diff --git a/app-misc/dailystrips/dailystrips-1.0.28-r3.ebuild b/app-misc/dailystrips/dailystrips-1.0.28-r3.ebuild
new file mode 100644 (file)
index 0000000..1926018
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="dailystrips automatically downloads your favorite online comics from the web"
+HOMEPAGE="http://dailystrips.sourceforge.net/"
+SRC_URI="mirror://sourceforge/dailystrips/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-perl/libwww-perl-5.50
+       dev-perl/DateTime
+       dev-perl/TimeDate"
+
+src_prepare() {
+       sed -i -e "s:/usr/share/dailystrips/strips.def:/etc/strips.def:" \
+               dailystrips || die "sed dailystrips failed"
+       default
+}
+
+src_install() {
+       dobin dailystrips dailystrips-clean dailystrips-update
+       dodoc BUGS CHANGELOG CONTRIBUTORS README* TODO
+       insinto /etc
+       doins strips.def
+}