aboutsummaryrefslogtreecommitdiff
blob: de0e502805a75bf12670084089adafe00c29f6af (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
33
34
35
36
37
38
39
40
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit git-r3

DESCRIPTION="A tool for visualizing changes in Linux software packages"
HOMEPAGE="https://lvc.github.io/pkgdiff/"
EGIT_REPO_URI="https://github.com/lvc/pkgdiff.git"
EGIT_COMMIT="114b96f5e488425ecb3b4f4d27128fdbbe37c5fa"

SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="
	sys-apps/diffutils
	app-text/wdiff
	sys-apps/gawk
	sys-devel/binutils
"
DEPEND="
	${RDEPEND}
	dev-lang/perl
	dev-perl/File-LibMagic
	dev-perl/Module-Build
"

src_compile() {
	true
}

src_install() {
	mkdir -p "${D}/usr"
	perl Makefile.pl -install -prefix "${D}/usr"

	dodoc README.md doc/index.html
	newbin pkgdiff.pl pkgdiff
}