blob: 5d360d5b2b96458fa8746e3cd7bf804293c10331 (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit base versionator toolchain-funcs
MY_PV=$(version_format_string '$1.$2-${3/p/bf}')
MY_P=${PN}-${MY_PV}
DESCRIPTION="An improved dynamic tiling window manager"
HOMEPAGE="http://i3wm.org/"
SRC_URI="http://i3wm.org/downloads/${MY_P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
CDEPEND="dev-libs/libev
dev-libs/yajl
x11-libs/libxcb
x11-libs/libX11
x11-libs/xcb-util"
DEPEND="${CDEPEND}
sys-devel/flex
sys-devel/bison
x11-proto/xcb-proto"
RDEPEND="${CDEPEND}
x11-apps/xmessage"
S=${WORKDIR}/${MY_P}
DOCS=( GOALS TODO RELEASE-NOTES-${MY_PV} )
PATCHES=( "${FILESDIR}"/${PN}-gentoo.diff )
pkg_setup() {
tc-export CC
}
src_install() {
base_src_install
doman man/*.1
dohtml -r docs/*
}
pkg_postinst() {
elog "${PN} by default uses x11-terms/rxvt-unicode as a default terminal."
elog "Either merge it yourself or change proper bind in /etc/${PN}/config"
elog "or ~/.i3/config"
}
|