app-text/urlview: Imported from ::thegreatmcpain

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
This commit is contained in:
Alarig Le Lay 2020-05-19 10:18:52 +02:00
parent 1f22b9f6ed
commit 80bd867f9a
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
3 changed files with 55 additions and 0 deletions

View file

@ -0,0 +1,2 @@
DIST urlview_0.9-21.diff.gz 166631 BLAKE2B cf6ef04afe9433dcab1e659de5212f4e09af9ef6f3dec5f4777205eef5d99dcd02a37d21e00a5a7cafffa8be0fa996ecfae5c78bfc66a4b1b9cfbed0696fe0fd SHA512 2d54e60610067d51cafb2c660d53720859145eff9a2024ea97ca0b5edd3a0d6407311d906687b700eee8653695134ab8fba4503f37eab183b453d017deaa33be
DIST urlview_0.9.orig.tar.gz 46715 BLAKE2B d3579d64565ef57840de79eade2b17b8a91ee84c4e6fd756ac4b526ea3bb240f3822c0d5537a5f0e0c0ee243c2e9dd23b2f56e44759d2488d8ab48b0cd60af3a SHA512 68eb2140d93f60974fb6094131d48b6b2bf116ea904d53c6cba54a172933789849c3226cbf5d5565ae10a7717eb0c539390d4474f0617e9b85c3008be767c4fa

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>sixsupersonic@gmail.com</email>
</maintainer>
<longdescription>
urlview is a curses program for extracting URLs from text files and displaying a menu from whch you con select a specific URL to view using your favorite browser program.
It respects the BROWSER convention (see &lt;http://www.catb.org/~esr/BROWSER/&gt;)
</longdescription>
</pkgmetadata>

View file

@ -0,0 +1,42 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils autotools
MY_PV="${PV/_p*/}"
MY_PATCHLEVEL="${PV/*_p/}"
S="${WORKDIR}/${PN}-${MY_PV}.orig"
DESCRIPTION="A curses URL parser for text files"
SLOT="0"
HOMEPAGE="https://packages.qa.debian.org/u/urlview.html"
SRC_URI="http://ftp.debian.org/debian/pool/main/u/urlview/${PN}_${MY_PV}.orig.tar.gz
http://ftp.debian.org/debian/pool/main/u/urlview/${PN}_${MY_PV}-${MY_PATCHLEVEL}.diff.gz"
LICENSE="GPL-2+"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="sys-libs/ncurses:0"
DEPEND="${RDEPEND}"
src_prepare() {
eapply "${WORKDIR}/${PN}_${MY_PV}-${MY_PATCHLEVEL}.diff"
eapply_user
eautoconf
eautomake
}
src_configure() {
LIBS="-ltinfo" econf
}
src_install() {
dodir "/usr/share/man/man1"
emake DESTDIR="${D}" \
mandir="${D}/usr/share/man/" \
install
}