summaryrefslogtreecommitdiff
blob: cb0a567f82e5f5d50c37252966c4e06d9acc4a7c (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.1.ebuild,v 1.1 2014/02/01 18:40:58 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}
}