src_prepare-overlay/x11-misc/mjwm/mjwm-4.0.0.ebuild

34 lines
759 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"
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'
}