diff --git a/sys-process/nq/Manifest b/sys-process/nq/Manifest new file mode 100644 index 0000000..c9344b2 --- /dev/null +++ b/sys-process/nq/Manifest @@ -0,0 +1 @@ +DIST nq-0.3.1.tar.gz 11015 BLAKE2B a9417d2508e87b462fd794ce924861e99a439e560bde6113cb8b982cd4d1d83be978fbcde80d636f09c875660db74209dd213bc646ff6fb2ac23e8f467c92648 SHA512 42a43eb90488e17439d12740268b66cf6ed6f255ee0377f2df02f97fe2cdd562726e06909fb8efa26e3740e885088083f0880d986bf3f58615a21f1ea4c11d87 diff --git a/sys-process/nq/metadata.xml b/sys-process/nq/metadata.xml new file mode 100644 index 0000000..86ac879 --- /dev/null +++ b/sys-process/nq/metadata.xml @@ -0,0 +1,7 @@ + + + + + leahneukirchen/nq + + diff --git a/sys-process/nq/nq-0.3.1.ebuild b/sys-process/nq/nq-0.3.1.ebuild new file mode 100644 index 0000000..9aa6947 --- /dev/null +++ b/sys-process/nq/nq-0.3.1.ebuild @@ -0,0 +1,26 @@ +# 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 +} diff --git a/sys-process/nq/nq-9999.ebuild b/sys-process/nq/nq-9999.ebuild new file mode 100644 index 0000000..9aa6947 --- /dev/null +++ b/sys-process/nq/nq-9999.ebuild @@ -0,0 +1,26 @@ +# 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 +}