summaryrefslogtreecommitdiff
blob: 2e6371feb75bc2553b4fdfc67c3a36fce6b1adcb (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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Send a collection of patches as emails"
HOMEPAGE="https://github.com/roman-neuhauser/git-mailz/"
SRC_URI="http://codex.sigpipe.cz/${PN}/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="
	app-shells/zsh
	dev-vcs/git
	virtual/mta
"
BDEPEND="test? ( dev-util/cram )"

src_compile() {
	emake GZIPCMD="true"
}

src_install() {
	emake PREFIX="${ED}/usr" install

	mv "${ED}"/usr/share/man/man1/git-mailz.1{.gz,} || die
}