summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-06-02 19:28:02 +0200
committerDavid Seifert <soap@gentoo.org>2017-06-02 19:28:02 +0200
commitd76c33479e3c73502d0c792a9e6a166bf3952c65 (patch)
tree311d35fa1964db3024907c8a3e40a0053d6735cd /app-misc/grabcartoons/grabcartoons-2.8.4_p20141112.ebuild
parentnet-misc/ttytter: [QA] Use proper distfile name (diff)
downloadgentoo-d76c33479e3c73502d0c792a9e6a166bf3952c65.tar.gz
gentoo-d76c33479e3c73502d0c792a9e6a166bf3952c65.tar.bz2
gentoo-d76c33479e3c73502d0c792a9e6a166bf3952c65.zip
app-misc/grabcartoons: [QA] Use proper distfile name
Bug: https://bugs.gentoo.org/show_bug.cgi?id=619888 Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'app-misc/grabcartoons/grabcartoons-2.8.4_p20141112.ebuild')
-rw-r--r--app-misc/grabcartoons/grabcartoons-2.8.4_p20141112.ebuild30
1 files changed, 17 insertions, 13 deletions
diff --git a/app-misc/grabcartoons/grabcartoons-2.8.4_p20141112.ebuild b/app-misc/grabcartoons/grabcartoons-2.8.4_p20141112.ebuild
index 0dd1a1b2aa7b..77fbcd8f86b9 100644
--- a/app-misc/grabcartoons/grabcartoons-2.8.4_p20141112.ebuild
+++ b/app-misc/grabcartoons/grabcartoons-2.8.4_p20141112.ebuild
@@ -1,29 +1,33 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
+if [[ ${PV} == *9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/zzamboni/grabcartoons.git"
+else
+ inherit vcs-snapshot
+ SRC_URI="https://github.com/zzamboni/grabcartoons/archive/cb230f01fb288a0b9f0fc437545b97d06c846bd3.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
DESCRIPTION="Comic-summarizing utility"
HOMEPAGE="http://zzamboni.org/grabcartoons"
-EGIT_COMMIT="cb230f01fb288a0b9f0fc437545b97d06c846bd3"
-SRC_URI="https://github.com/zzamboni/grabcartoons/archive/cb230f01fb288a0b9f0fc437545b97d06c846bd3.tar.gz"
-KEYWORDS="~amd64 ~x86"
+
LICENSE="BSD"
SLOT="0"
+IUSE=""
+# Opens a web page, which is unacceptable during an emerge.
+RESTRICT="test"
RDEPEND="
dev-lang/perl
virtual/perl-Getopt-Long"
-# Opens a web page, which is unacceptable during an emerge.
-RESTRICT="test"
-S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
-
-PATCHES=(
- "${FILESDIR}"/2.8.4-fix-install-paths.patch
- )
+PATCHES=( "${FILESDIR}"/2.8.4-fix-install-paths.patch )
src_install() {
- emake PREFIX="${ED}"usr install
- dodoc ChangeLog README
+ emake PREFIX="${ED%/}"/usr install
+ einstalldocs
}