diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2022-01-07 11:37:10 -0800 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2022-01-07 12:43:53 -0800 |
commit | c743e47eb7c7f1c7de483f554728c5daaf9e4819 (patch) | |
tree | a1256b3c50b5c46285044d448c7ae0900e73dc61 /x11-wm | |
parent | x11-wm/dwm: add 6.3 (diff) | |
download | gentoo-c743e47eb7c7f1c7de483f554728c5daaf9e4819.tar.gz gentoo-c743e47eb7c7f1c7de483f554728c5daaf9e4819.tar.bz2 gentoo-c743e47eb7c7f1c7de483f554728c5daaf9e4819.zip |
x11-wm/dwm: sync live ebuild changes
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/dwm/dwm-9999.ebuild | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/x11-wm/dwm/dwm-9999.ebuild b/x11-wm/dwm/dwm-9999.ebuild index 4b464a12ac2f..4ff4f401873f 100644 --- a/x11-wm/dwm/dwm-9999.ebuild +++ b/x11-wm/dwm/dwm-9999.ebuild @@ -1,16 +1,23 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit git-r3 savedconfig toolchain-funcs + +inherit savedconfig toolchain-funcs DESCRIPTION="a dynamic window manager for X11" HOMEPAGE="https://dwm.suckless.org/" -EGIT_REPO_URI="https://git.suckless.org/dwm" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.suckless.org/dwm" +else + SRC_URI="https://dl.suckless.org/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +fi LICENSE="MIT" SLOT="0" -KEYWORDS="" IUSE="xinerama" RDEPEND=" @@ -30,6 +37,8 @@ src_prepare() { sed -i \ -e "s/ -Os / /" \ -e "/^\(LDFLAGS\|CFLAGS\|CPPFLAGS\)/{s| = | += |g;s|-s ||g}" \ + -e "/^X11LIB/{s:/usr/X11R6/lib:/usr/$(get_libdir)/X11:}" \ + -e '/^X11INC/{s:/usr/X11R6/include:/usr/include/X11:}' \ config.mk || die restore_config config.h |