Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
--- /dev/null
+--- a/Makefile
++++ b/Makefile
+@@ -64,7 +64,7 @@
+ install: sithwm
+ if [ -f sithwm.exe ]; then mv sithwm.exe sithwm; fi
+ mkdir -p $(prefix)/bin $(prefix)/share/man/man1 $(confdir)
+- install -s sithwm $(prefix)/bin
++ install sithwm $(prefix)/bin
+ install sithwm.1 $(prefix)/share/man/man1
+ install default.sithwmrc $(confdir)
+ @if test -x /usr/bin/update-menus; then \
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="Minimalist Window Manager for X"
HOMEPAGE="http://sithwm.darkside.no/"
LICENSE="GPL-2+ MIT 9wm"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
RDEPEND="x11-libs/libX11"
DEPEND="${RDEPEND}"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-warnings.patch
- sed -e 's|install -s|install|g' \
- -i Makefile || die
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-warnings.patch
+ "${FILESDIR}"/${P}-install.patch
+)
src_compile() {
emake CC="$(tc-getCC)"