You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
722 B
32 lines
722 B
11 months ago
|
# Copyright 1999-2023 Gentoo Authors
|
||
10 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
11 months ago
|
EAPI=8
|
||
10 years ago
|
|
||
7 years ago
|
if [[ ${PV} == *9999 ]] ; then
|
||
|
inherit git-r3
|
||
|
EGIT_REPO_URI="https://github.com/zzamboni/grabcartoons.git"
|
||
|
else
|
||
11 months ago
|
SRC_URI="https://github.com/zzamboni/grabcartoons/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||
7 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
|
fi
|
||
|
|
||
10 years ago
|
DESCRIPTION="Comic-summarizing utility"
|
||
6 years ago
|
HOMEPAGE="https://zzamboni.org/code/grabcartoons/"
|
||
7 years ago
|
|
||
10 years ago
|
LICENSE="BSD"
|
||
|
SLOT="0"
|
||
7 years ago
|
# Opens a web page, which is unacceptable during an emerge.
|
||
|
RESTRICT="test"
|
||
10 years ago
|
|
||
8 years ago
|
RDEPEND="
|
||
|
dev-lang/perl
|
||
10 years ago
|
virtual/perl-Getopt-Long"
|
||
|
|
||
11 months ago
|
PATCHES=( "${FILESDIR}"/${PV}-fix-install-paths.patch )
|
||
10 years ago
|
|
||
|
src_install() {
|
||
11 months ago
|
emake PREFIX="${ED}"/usr install
|
||
7 years ago
|
einstalldocs
|
||
10 years ago
|
}
|