15af7b3d8f
Signed-off-by: Maciej Barć <xgqt@riseup.net>
25 lines
552 B
Bash
25 lines
552 B
Bash
# Copyright 1999-2021 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/leahneukirchen/nq"
|
|
|
|
if [[ ${PV} == *9999* ]]; then
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/leahneukirchen/${PN}.git"
|
|
else
|
|
SRC_URI="https://github.com/leahneukirchen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
KEYWORDS="~amd64"
|
|
fi
|
|
|
|
RESTRICT="mirror"
|
|
LICENSE="CC0-1.0"
|
|
SLOT="0"
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" PREFIX="/usr" install
|
|
dodoc *.md
|
|
}
|