src_prepare-overlay/sys-process/nq/nq-9999.ebuild
XGQT eee6e1ca85
sys-process/nq: add version 0.3.1 and 9999
Package-Manager: Portage-2.3.84, Repoman-2.3.20
2020-02-01 20:30:42 +01:00

27 lines
569 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Unix command line queue utility"
HOMEPAGE="https://github.com/chneukirchen/nq"
if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/chneukirchen/${PN}.git"
KEYWORDS=""
else
SRC_URI="https://github.com/leahneukirchen/${PN}/archive/v0.3.1.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
RESTRICT="mirror"
LICENSE="CC0-1.0"
SLOT="0"
IUSE=""
src_install() {
emake DESTDIR="${D}" PREFIX="/usr" install
dodoc *.md
}