blob: eca68da58692fd26b6c5dde914f6efa0591b3de4 (
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
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
COMMIT="de6456b0aeca16243ed4c54fdc241be746274bcd"
DESCRIPTION="Amiga Workbench inspired window manager for Xorg"
HOMEPAGE="https://github.com/sdomi/amiwm"
SRC_URI="https://github.com/chewi/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="amiwm"
SLOT="0"
KEYWORDS="~amd64 ~m68k ~ppc ~x86"
COMMON_DEPEND="
x11-libs/libX11
x11-libs/libXmu
x11-libs/libXext
"
RDEPEND="
${COMMON_DEPEND}
media-fonts/font-misc-misc[nls,X]
x11-apps/xrdb
x11-apps/xsetroot
"
DEPEND="
${COMMON_DEPEND}
x11-base/xorg-proto
"
S="${WORKDIR}/${PN}-${COMMIT}"
src_prepare() {
default
eautoconf
}
src_install() {
emake install DESTDIR="${D}" STRIPFLAG=
einstalldocs
exeinto /etc/X11/Sessions
newexe - ${PN} <<-EOF
#!/bin/sh
exec ${PN}
EOF
}
|