commit:     027a0095348957f0174cdacf898517b215342329
Author:     Matthias Coppens <coppens.matthias.abc <AT> gmail <DOT> com>
AuthorDate: Fri Aug 21 09:19:38 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Aug 21 09:19:53 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=027a0095

app-misc/fetsh: New package

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Matthias Coppens <coppens.matthias.abc <AT> gmail.com>

 app-misc/fetsh/Manifest          |  1 +
 app-misc/fetsh/fetsh-1.5.ebuild  | 26 ++++++++++++++++++++++++++
 app-misc/fetsh/fetsh-9999.ebuild | 26 ++++++++++++++++++++++++++
 app-misc/fetsh/metadata.xml      | 12 ++++++++++++
 4 files changed, 65 insertions(+)

diff --git a/app-misc/fetsh/Manifest b/app-misc/fetsh/Manifest
new file mode 100644
index 0000000..e94a58b
--- /dev/null
+++ b/app-misc/fetsh/Manifest
@@ -0,0 +1 @@
+DIST fet.sh-1.5.tar.gz 29363 BLAKE2B 
dc864b3db1a3bffd798cd37d7b116682929ccdf111be26c91f2b61e4a14732b6220c97aeaf244179a31eb6e05e73596efd846f0a16712076c0587df0ad3f9a16
 SHA512 
6a974cc2bf4eb7d4fc513229bc94daac3bc4a1f38e5af8898af8bee25bd88e20883d839b786444452c2dc4a58eeebc433b60047d5849ce404ae9775cc39451eb

diff --git a/app-misc/fetsh/fetsh-1.5.ebuild b/app-misc/fetsh/fetsh-1.5.ebuild
new file mode 100644
index 0000000..497171a
--- /dev/null
+++ b/app-misc/fetsh/fetsh-1.5.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A fetch written in POSIX shell without any external commands"
+HOMEPAGE="https://github.com/6gk/fet.sh";
+
+case "${PV}" in
+       9999)
+               inherit git-r3
+               EGIT_REPO_URI="https://github.com/6gk/fet.sh.git";
+               ;;
+       *)
+               P0="fet.sh-${PV}"
+               SRC_URI="https://github.com/6gk/fet.sh/archive/v${PV}.tar.gz -> 
${P0}.tar.gz"
+               S="${WORKDIR}/${P0}"
+               KEYWORDS="~amd64"
+esac
+
+LICENSE="ISC"
+SLOT="0"
+
+src_install() {
+       dobin fet.sh
+}

diff --git a/app-misc/fetsh/fetsh-9999.ebuild b/app-misc/fetsh/fetsh-9999.ebuild
new file mode 100644
index 0000000..497171a
--- /dev/null
+++ b/app-misc/fetsh/fetsh-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="A fetch written in POSIX shell without any external commands"
+HOMEPAGE="https://github.com/6gk/fet.sh";
+
+case "${PV}" in
+       9999)
+               inherit git-r3
+               EGIT_REPO_URI="https://github.com/6gk/fet.sh.git";
+               ;;
+       *)
+               P0="fet.sh-${PV}"
+               SRC_URI="https://github.com/6gk/fet.sh/archive/v${PV}.tar.gz -> 
${P0}.tar.gz"
+               S="${WORKDIR}/${P0}"
+               KEYWORDS="~amd64"
+esac
+
+LICENSE="ISC"
+SLOT="0"
+
+src_install() {
+       dobin fet.sh
+}

diff --git a/app-misc/fetsh/metadata.xml b/app-misc/fetsh/metadata.xml
new file mode 100644
index 0000000..f2433be
--- /dev/null
+++ b/app-misc/fetsh/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>coppens.matthias....@gmail.com</email>
+               <name>Matthias Coppens</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">6gk/fet.sh</remote-id>
+               <bugs-to>https://github.com/6gk/fet.sh/issues</bugs-to>
+       </upstream>
+</pkgmetadata>

Reply via email to