summaryrefslogtreecommitdiff
blob: 849f3c121643b1b695dc02dcc9f4222356651d5e (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/bfg/bfg-1.11.5.ebuild,v 1.1 2014/04/25 08:08:41 radhermit Exp $

EAPI=5

inherit java-pkg-2

DESCRIPTION="a simpler, faster alternative to git-filter-branch for removing bad data from git repos"
HOMEPAGE="http://rtyley.github.io/bfg-repo-cleaner/"
SRC_URI="http://repo1.maven.org/maven2/com/madgag/${PN}/${PV}/${P}.jar"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND=">=virtual/jre-1.6"

S=${WORKDIR}

src_unpack() {
	cp "${DISTDIR}"/${A} "${WORKDIR}"
}

src_compile() { :; }

src_install() {
	java-pkg_newjar ${P}.jar
	java-pkg_dolauncher ${PN}
}