src_prepare-overlay/x11-misc/mjwm/mjwm-9999.ebuild
XGQT 8c7a29afd4 x11-misc/mjwm: add x11-misc/mjwm-4.0.0 and x11-misc/mjwm-9999
Package-Manager: Portage-2.3.79, Repoman-2.3.16
2019-12-30 02:09:42 +01:00

35 lines
772 B
Bash

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="mjwm creates JWM application menu from (freedesktop) desktop files"
HOMEPAGE="https://github.com/chiku/mjwm"
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/chiku/${PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/chiku/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="mirror"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
src_prepare() {
default
eautoreconf
}
pkg_postinst() {
elog 'Please note that this program only works with JWM'
elog 'For more informations see https://github.com/chiku/mjwm'
elog 'Official JWM GitHub page https://github.com/joewing/jwm'
}