From 52f901d35215bde02077c1592b4ec7912578dcab Mon Sep 17 00:00:00 2001 From: azahi Date: Sun, 3 Nov 2019 13:53:12 +0300 Subject: dev-libs/libwm: Add package --- dev-libs/libwm/libwm-9999.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 dev-libs/libwm/libwm-9999.ebuild (limited to 'dev-libs/libwm/libwm-9999.ebuild') diff --git a/dev-libs/libwm/libwm-9999.ebuild b/dev-libs/libwm/libwm-9999.ebuild new file mode 100644 index 0000000..b42cb09 --- /dev/null +++ b/dev-libs/libwm/libwm-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 2019 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/wmutils/libwm" +fi + +inherit ${SCM} + +DESCRIPTION="A small library for X windows manipulation" +HOMEPAGE="https://github.com/wmutils/libwm" + +if [[ ${PV} == *9999 ]]; then + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://github.com/wmutils/libwm/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="" + +DEPEND="x11-libs/libxcb" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_prepare() { + default + + sed -e 's/\/local//' -i config.mk || die +} -- cgit 1.4.1