summaryrefslogtreecommitdiff
blob: e296af5ae7142bc83f071cea4e8a198d9b3d4f5e (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2


# Helpful information for me:
# http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1
# http://devmanual.gentoo.org/ebuild-writing/index.html
# http://linuxreviews.org/man/ebuild/

# Contains the list of variables & functions available for using git in ebuilds:
# http://gentoo-overlays.zugaina.org/kde/portage/eclass/git.eclass


EAPI="3"

inherit eutils git

DESCRIPTION="a wrapper script for emerge to make it better"
HOMEPAGE="https://github.com/write2david/bemerge"
SRC_URI=""


EGIT_REPO_URI="git://github.com/write2david/bemerge.git"
EGIT_BRANCH="master"

# The commit of version 0.46
EGIT_COMMIT="7e0c7e48a7e"


LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RESTRICT="mirror test"


RDEPEND="
	sys-process/time
	app-admin/localepurge
	sys-kernel/module-rebuild
	sys-process/lsof
	app-admin/checkrestart
	app-portage/portage-utils
	"


src_unpack() {
	git_src_unpack
}


src_install() {

	# Dictate where the executable will be installed to
	exeinto /usr/bin

	# Now put the executable in said location
	doexe bemerge

}