commit:     fa45ae0029fbc4eae9f19297aa45bd83aa63ee17
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Wed Aug 24 18:39:42 2022 +0000
Commit:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
CommitDate: Wed Aug 24 18:39:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fa45ae00

app-misc/afc: new package, add 1.0, 9999

Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>

 app-misc/afc/Manifest        |  1 +
 app-misc/afc/afc-1.0.ebuild  | 24 ++++++++++++++++++++++++
 app-misc/afc/afc-9999.ebuild | 24 ++++++++++++++++++++++++
 3 files changed, 49 insertions(+)

diff --git a/app-misc/afc/Manifest b/app-misc/afc/Manifest
new file mode 100644
index 000000000..eb8d0f639
--- /dev/null
+++ b/app-misc/afc/Manifest
@@ -0,0 +1 @@
+DIST afc-1.0.tar.gz 17012 BLAKE2B 
dce31a524a19a2e5c04b79b235a2c561dfc5ac794e91a0366e09d7688a9492d9541a003160afa15930e974e8719b35fe9964093eae2d08d6beb9188efed9f08c
 SHA512 
d32d08313eda95eb124c9736f720e755e687b28f64a350b241bf50045c380a425bfd58012c2c6d016da75af9aa60d32dfb7d908a705bf1d6843c262987930da4

diff --git a/app-misc/afc/afc-1.0.ebuild b/app-misc/afc/afc-1.0.ebuild
new file mode 100644
index 000000000..8dd4cc7ce
--- /dev/null
+++ b/app-misc/afc/afc-1.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+inherit cmake
+
+DESCRIPTION="Anime File Checker, checks CRC32 contained in filenames"
+HOMEPAGE="https://github.com/olifre/afc";
+
+if [[ ${PV} == *9999* ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/olifre/${PN}.git";
+else
+       SRC_URI="https://github.com/olifre/${PN}/archive/${PV}.tar.gz -> 
${PN}-${PV}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+       S="${WORKDIR}/${PN}-${PV}"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE=""
+
+DEPEND="sys-libs/zlib"

diff --git a/app-misc/afc/afc-9999.ebuild b/app-misc/afc/afc-9999.ebuild
new file mode 100644
index 000000000..8dd4cc7ce
--- /dev/null
+++ b/app-misc/afc/afc-9999.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+inherit cmake
+
+DESCRIPTION="Anime File Checker, checks CRC32 contained in filenames"
+HOMEPAGE="https://github.com/olifre/afc";
+
+if [[ ${PV} == *9999* ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/olifre/${PN}.git";
+else
+       SRC_URI="https://github.com/olifre/${PN}/archive/${PV}.tar.gz -> 
${PN}-${PV}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+       S="${WORKDIR}/${PN}-${PV}"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE=""
+
+DEPEND="sys-libs/zlib"

Reply via email to