diff options
author | Azat Bahawi <azahi@teknik.io> | 2020-08-13 16:32:36 +0300 |
---|---|---|
committer | Azat Bahawi <azahi@teknik.io> | 2020-08-13 16:32:36 +0300 |
commit | 711161b4f92b744524299965e544293027bc8692 (patch) | |
tree | cd57a4912d349aa55359817b7edbe25dd07630ab /x11-wm/2bwm/2bwm-9999.ebuild | |
parent | Add new packages (diff) |
x11-wm/2bwm: Add package
Diffstat (limited to '')
-rw-r--r-- | x11-wm/2bwm/2bwm-9999.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/x11-wm/2bwm/2bwm-9999.ebuild b/x11-wm/2bwm/2bwm-9999.ebuild new file mode 100644 index 0000000..51d6f46 --- /dev/null +++ b/x11-wm/2bwm/2bwm-9999.ebuild @@ -0,0 +1,43 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} == *9999 ]]; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/venam/2bwm" +fi + +inherit savedconfig ${SCM} + +DESCRIPTION="A fast floating WM written over the XCB library and derived from mcwm." +HOMEPAGE="https://github.com/venam/2bwm" + +if [[ ${PV} == *9999 ]]; then + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://github.com/venam/2bwm/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="" + +DEPEND="x11-libs/xcb-util + x11-libs/xcb-util-renderutil + x11-libs/xcb-util-wm + x11-libs/xcb-util-xrm +" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_compile() { + restore_config config.h +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + save_config config.h +} |