summaryrefslogtreecommitdiff
blob: ed5c9c284e4a37660c9c42dd9c461a093ea8c9ec (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header

S=${WORKDIR}/${P}
DESCRIPTION="Common utilities for fluxbox, blackbox, and openbox"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
HOMEPAGE="http://mkeadle.org/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ppc sparc  alpha"

DEPENDS="media-gfx/xv"

RDEPEND="virtual/x11"

src_compile() {

	cd ${S}
	./compile.sh

}

src_install () {

	dobin ${S}/util/bsetbg ${S}/util/bsetroot ${S}/util/commonbox-menugen ${S}/util/commonbox-imagebgmenugen
	dodoc README.commonbox-utils AUTHORS COPYING
	doman bsetroot.1 bsetbg.1
	
	insinto /usr/share/commonbox
	doins ${S}/solidbgmenu
}


pkg_postinst() {

	commonbox-imagebgmenugen
	commonbox-menugen -kg -o /usr/share/commonbox/menu

}