diff options
author | Azat Bahawi <azahi@teknik.io> | 2020-08-17 19:07:36 +0300 |
---|---|---|
committer | Azat Bahawi <azahi@teknik.io> | 2020-08-17 19:07:36 +0300 |
commit | 18649c966a96bab4580ba9867718705b5a035900 (patch) | |
tree | 3414902345021832311f6f148cd2d3d80e005dba /x11-wm | |
parent | x11-misc/2bwm: Remove package (diff) |
x11-wm/wmutils: Update
Modify build process Strip optimization flags from build files Install documentation
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/wmutils/metadata.xml | 3 | ||||
-rw-r--r-- | x11-wm/wmutils/wmutils-1.5.ebuild | 22 | ||||
-rw-r--r-- | x11-wm/wmutils/wmutils-9999.ebuild | 22 |
3 files changed, 35 insertions, 12 deletions
diff --git a/x11-wm/wmutils/metadata.xml b/x11-wm/wmutils/metadata.xml index 7869e07..754d38c 100644 --- a/x11-wm/wmutils/metadata.xml +++ b/x11-wm/wmutils/metadata.xml @@ -5,4 +5,7 @@ <email>azahi@teknik.io</email> <name>azahi</name> </maintainer> + <upstream> + <remote-id type="github">wmutils/core</remote-id> + </upstream> </pkgmetadata> diff --git a/x11-wm/wmutils/wmutils-1.5.ebuild b/x11-wm/wmutils/wmutils-1.5.ebuild index 356456f..5529b29 100644 --- a/x11-wm/wmutils/wmutils-1.5.ebuild +++ b/x11-wm/wmutils/wmutils-1.5.ebuild @@ -4,12 +4,10 @@ EAPI=7 if [[ ${PV} == *9999 ]]; then - SCM="git-r3" - EGIT_REPO_URI="https://github.com/wmutils/core" + inherit git-r3 + EGIT_REPO_URI="https://github.com/wmutils/core.git" fi -inherit eutils ${SCM} - DESCRIPTION="Set of window manipulation tools" HOMEPAGE="https://github.com/wmutils/core" @@ -25,14 +23,26 @@ LICENSE="ISC" SLOT="0" IUSE="" -DEPEND="x11-libs/libxcb" +DEPEND=" + x11-libs/libxcb + x11-libs/xcb-util + x11-libs/xcb-util-cursor +" RDEPEND="${DEPEND}" BDEPEND="" +DOCS=( README.md ) + if [[ ${PV} != *9999 ]]; then S="${WORKDIR}/core-${PV}" fi +src_prepare() { + sed -i 's/-Os//g' -i config.mk + default +} + src_install() { - emake DESTDIR="${D}" MANPREFIX="/usr/share/man" install + emake DESTDIR="${D}" MANPREFIX="${EPREFIX}/usr/share/man" install + einstalldocs } diff --git a/x11-wm/wmutils/wmutils-9999.ebuild b/x11-wm/wmutils/wmutils-9999.ebuild index 356456f..5529b29 100644 --- a/x11-wm/wmutils/wmutils-9999.ebuild +++ b/x11-wm/wmutils/wmutils-9999.ebuild @@ -4,12 +4,10 @@ EAPI=7 if [[ ${PV} == *9999 ]]; then - SCM="git-r3" - EGIT_REPO_URI="https://github.com/wmutils/core" + inherit git-r3 + EGIT_REPO_URI="https://github.com/wmutils/core.git" fi -inherit eutils ${SCM} - DESCRIPTION="Set of window manipulation tools" HOMEPAGE="https://github.com/wmutils/core" @@ -25,14 +23,26 @@ LICENSE="ISC" SLOT="0" IUSE="" -DEPEND="x11-libs/libxcb" +DEPEND=" + x11-libs/libxcb + x11-libs/xcb-util + x11-libs/xcb-util-cursor +" RDEPEND="${DEPEND}" BDEPEND="" +DOCS=( README.md ) + if [[ ${PV} != *9999 ]]; then S="${WORKDIR}/core-${PV}" fi +src_prepare() { + sed -i 's/-Os//g' -i config.mk + default +} + src_install() { - emake DESTDIR="${D}" MANPREFIX="/usr/share/man" install + emake DESTDIR="${D}" MANPREFIX="${EPREFIX}/usr/share/man" install + einstalldocs } |