summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2019-01-28 00:56:00 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2019-01-28 00:56:00 +0100
commit98abe1c50c9568376cde43c0e8790436fa27af95 (patch)
tree40db2a641ad507cfba79954ae922bebb27de7388 /x11-wm/vtwm
parentx11-wm/vtwm: Builds on amd64 :) (diff)
downloadgentoo-98abe1c50c9568376cde43c0e8790436fa27af95.tar.gz
gentoo-98abe1c50c9568376cde43c0e8790436fa27af95.tar.bz2
gentoo-98abe1c50c9568376cde43c0e8790436fa27af95.zip
x11-wm/vtwm: EAPI bump
Package-Manager: Portage-2.3.58, Repoman-2.3.12 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'x11-wm/vtwm')
-rw-r--r--x11-wm/vtwm/vtwm-5.4.7-r2.ebuild (renamed from x11-wm/vtwm/vtwm-5.4.7-r1.ebuild)22
1 files changed, 11 insertions, 11 deletions
diff --git a/x11-wm/vtwm/vtwm-5.4.7-r1.ebuild b/x11-wm/vtwm/vtwm-5.4.7-r2.ebuild
index f1f31db2b33b..449d88600609 100644
--- a/x11-wm/vtwm/vtwm-5.4.7-r1.ebuild
+++ b/x11-wm/vtwm/vtwm-5.4.7-r2.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="2"
+EAPI=7
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
-DESCRIPTION="one of many TWM descendants and implements a Virtual Desktop"
+DESCRIPTION="TWM descendant that implements a Virtual Desktop"
HOMEPAGE="http://www.vtwm.org/"
SRC_URI="http://www.vtwm.org/downloads/${P}.tar.gz"
@@ -28,7 +28,7 @@ DEPEND="${RDEPEND}
x11-misc/imake"
src_prepare() {
- epatch "${FILESDIR}"/${P}-do-not-rm.patch
+ eapply "${FILESDIR}"/${P}-do-not-rm.patch
sed -i Imakefile \
-e 's:-L/usr/local/lib::g' \
-e 's:-I/usr/local/include::g' \
@@ -39,33 +39,33 @@ src_prepare() {
-e 's:^\(SOUNDLIB.*\):XCOMM\ \1:' \
-e 's:sound\..::g' \
|| die "sed Imakefile"
- epatch "${FILESDIR}"/${P}-NO_SOUND_SUPPORT.patch
+ eapply "${FILESDIR}"/${P}-NO_SOUND_SUPPORT.patch
fi
+ default
}
src_configure() {
xmkmf || die "xmkmf failed"
- emake depend || die "emake depend"
+ emake depend
}
src_compile() {
emake \
CC=$(tc-getCC) \
CCOPTIONS="${CFLAGS}" \
- EXTRA_LDOPTIONS="${LDFLAGS}" \
- || die "emake failed"
+ EXTRA_LDOPTIONS="${LDFLAGS}"
}
src_install() {
emake BINDIR=/usr/bin \
LIBDIR=/etc/X11 \
MANPATH=/usr/share/man \
- DESTDIR="${D}" install || die "emake install failed"
+ DESTDIR="${D}" install
echo "#!/bin/sh" > vtwm
echo "xsetroot -cursor_name left_ptr &" >> vtwm
echo "/usr/bin/vtwm" >> vtwm
exeinto /etc/X11/Sessions
- doexe vtwm || die
- dodoc doc/{4.7.*,CHANGELOG,BUGS,DEVELOPERS,HISTORY,SOUND,WISHLIST} || die
+ doexe vtwm
+ dodoc doc/{4.7.*,CHANGELOG,BUGS,DEVELOPERS,HISTORY,SOUND,WISHLIST}
}