---- windowlab.h.orig 2006-09-01 23:47:36.000000000 +0200
-+++ windowlab.h 2006-09-01 23:47:49.000000000 +0200
+--- a/windowlab.h 2006-09-01 23:47:36.000000000 +0200
++++ b/windowlab.h 2006-09-01 23:47:49.000000000 +0200
@@ -49,7 +49,7 @@
#ifdef XFT
#define DEF_FONT "-bitstream-bitstream vera sans-medium-r-*-*-*-100-*-*-*-*-*-*"
---- Makefile.orig 2009-11-05 21:04:45.000000000 +0000
-+++ Makefile 2010-05-30 15:31:04.047559352 +0000
+--- a/Makefile 2009-11-05 21:04:45.000000000 +0000
++++ b/Makefile 2010-05-30 15:31:04.047559352 +0000
@@ -5,18 +5,18 @@
EXTRA_LIBS += -lXext
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="2"
+EAPI=6
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="small and simple window manager of novel design"
HOMEPAGE="http://www.nickgravgaard.com/windowlab/"
x11-proto/xextproto
virtual/pkgconfig"
+PATCHES=( "${FILESDIR}/${PN}-1.34-fixed-font.patch"
+ "${FILESDIR}/${P}-gentoo.diff" )
+
pkg_setup() {
if use truetype ; then
export DEFINES=-DXFT
tc-export CC
}
-src_prepare() {
- epatch "${FILESDIR}/${PN}-1.34-fixed-font.patch" \
- "${FILESDIR}"/${P}-gentoo.diff
-}
-
src_install() {
- emake DESTDIR="${D}" install || die
- dodoc CHANGELOG README TODO || die
+ emake DESTDIR="${D}" install
+ dodoc CHANGELOG README TODO
exeinto /etc/X11/Sessions
cat <<- EOF > "${T}"/${PN}