commit: afe873b407c27b44031829589528394f14427045 Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me> AuthorDate: Sat Jul 18 10:50:10 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Sat Jul 18 10:59:08 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=afe873b4
net-news/sfeed: New package Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me> net-news/sfeed/Manifest | 1 + net-news/sfeed/metadata.xml | 8 ++++++++ net-news/sfeed/sfeed-0.9.18.ebuild | 26 ++++++++++++++++++++++++++ net-news/sfeed/sfeed-9999.ebuild | 26 ++++++++++++++++++++++++++ 4 files changed, 61 insertions(+) diff --git a/net-news/sfeed/Manifest b/net-news/sfeed/Manifest new file mode 100644 index 0000000..86e50fc --- /dev/null +++ b/net-news/sfeed/Manifest @@ -0,0 +1 @@ +DIST sfeed-0.9.18.tar.gz 34832 BLAKE2B 35e21d0bf715cb5bc250f03452b821aadae027bc0134e04139f0eefa1d52c379ff9f0b12a968f5f31930291d72f864bb52a8693e03f40c3008b9078669ec55e4 SHA512 993b588d93c5db0867497e32518d30dc4a309ef69ef9ddeeb4127924399380d6e6c9d7e45ebd56a57f6020a6f71a6782a563759c5bd00e22dea00e3ecb180762 diff --git a/net-news/sfeed/metadata.xml b/net-news/sfeed/metadata.xml new file mode 100644 index 0000000..c698af2 --- /dev/null +++ b/net-news/sfeed/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>cont...@hacktivis.me</email> + <name>Haelwenn (lanodan) Monnier</name> + </maintainer> +</pkgmetadata> diff --git a/net-news/sfeed/sfeed-0.9.18.ebuild b/net-news/sfeed/sfeed-0.9.18.ebuild new file mode 100644 index 0000000..215706d --- /dev/null +++ b/net-news/sfeed/sfeed-0.9.18.ebuild @@ -0,0 +1,26 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="simple RSS and Atom parser" +HOMEPAGE="https://www.codemadness.org/sfeed.html" +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="git://git.codemadness.org/sfeed" +else + SRC_URI="https://www.codemadness.org/releases/sfeed/sfeed-0.9.18.tar.gz" + KEYWORDS="~amd64" +fi +LICENSE="ISC" +SLOT="0" + +src_install() { + DESTDIR="${D}" \ + emake install \ + PREFIX="/usr" \ + MANPREFIX="/usr/share/man" \ + DOCPREFIX="/usr/share/doc/${P}" + + einstalldocs +} diff --git a/net-news/sfeed/sfeed-9999.ebuild b/net-news/sfeed/sfeed-9999.ebuild new file mode 100644 index 0000000..215706d --- /dev/null +++ b/net-news/sfeed/sfeed-9999.ebuild @@ -0,0 +1,26 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="simple RSS and Atom parser" +HOMEPAGE="https://www.codemadness.org/sfeed.html" +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="git://git.codemadness.org/sfeed" +else + SRC_URI="https://www.codemadness.org/releases/sfeed/sfeed-0.9.18.tar.gz" + KEYWORDS="~amd64" +fi +LICENSE="ISC" +SLOT="0" + +src_install() { + DESTDIR="${D}" \ + emake install \ + PREFIX="/usr" \ + MANPREFIX="/usr/share/man" \ + DOCPREFIX="/usr/share/doc/${P}" + + einstalldocs +}