src_prepare-overlay/sys-process/nq/nq-0.3.1.ebuild

25 lines
552 B
Bash
Raw Permalink Normal View History

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