diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
commit | bd4aeefe33e63f613512604e47bfca7b2187697d (patch) | |
tree | adb35b5a9a00ee7ea591ab0c987f70167c23b597 /x11-wm/spectrwm/spectrwm-3.2.0.ebuild | |
parent | 48ece6662cbd443015f5a57ae6d8cbdbd69ef37c (diff) |
gentoo resync : 03.11.2019
Diffstat (limited to 'x11-wm/spectrwm/spectrwm-3.2.0.ebuild')
-rw-r--r-- | x11-wm/spectrwm/spectrwm-3.2.0.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/x11-wm/spectrwm/spectrwm-3.2.0.ebuild b/x11-wm/spectrwm/spectrwm-3.2.0.ebuild new file mode 100644 index 000000000000..6607081b734d --- /dev/null +++ b/x11-wm/spectrwm/spectrwm-3.2.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit desktop multilib toolchain-funcs + +DESCRIPTION="Small dynamic tiling window manager for X11" +HOMEPAGE="https://github.com/conformal/spectrwm" +SRC_URI="${HOMEPAGE}/archive/${PN^^}_${PV//./_}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + !x11-wm/scrotwm + x11-misc/dmenu +" +DEPEND=" + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXrandr + x11-libs/libXtst + x11-libs/xcb-util +" +PATCHES=( + "${FILESDIR}"/${PN}-3.2.0-gentoo.patch +) +S=${WORKDIR}/${PN}-${PN^^}_${PV//./_} + +src_compile() { + tc-export CC PKG_CONFIG + emake -C linux PREFIX="${EROOT}/usr" LIBDIR="${EROOT}/usr/$(get_libdir)" +} + +src_install() { + emake -C linux PREFIX="${EROOT}/usr" LIBDIR="${EROOT}/usr/$(get_libdir)" \ + DESTDIR="${D}" install + + insinto /etc + doins ${PN}.conf + dodoc CHANGELOG.md README.md ${PN}_*.conf {initscreen,screenshot}.sh + + make_session_desktop ${PN} ${PN} +} |