New package: urlview-0.9

Closes: #7069 [via git-merge-pr]
This commit is contained in:
Liam Howley 2017-07-17 23:37:51 +01:00 committed by Duncaen
parent 01ea3b1761
commit cd67da1598
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,11 @@
--- urlview.c.orig 2005-02-06 17:10:54.000000000 +0100
+++ urlview.c 2005-02-06 17:57:06.998290062 +0100
@@ -40,6 +40,8 @@
#include <fcntl.h>
#include <sys/stat.h>
+#include "quote.h"
+
#ifdef HAVE_REGEX_H
#include <regex.h>
#else

26
srcpkgs/urlview/template Normal file
View file

@ -0,0 +1,26 @@
# Template file for 'urlview'
pkgname=urlview
version=0.9
revision=1
build_style=gnu-configure
hostmakedepends="mk-configure"
makedepends="ncurses-devel"
short_desc="Extract URLs from a text file and allow the user to select via a menu"
maintainer="Liam Howley <liam.howley@hotmail.com>"
license="GPL-2.0"
homepage="https://github.com/sigpipe/urlview"
distfiles="ftp://ftp.gnupg.org/mutt/contrib/$pkgname-$version.tar.gz"
checksum=74d18026e84e3cd70a3fdd1a7247a68031b0c1c1c6d761d64b7063ff71091cc3
pre_configure() {
sed -i '/install-data-local/,/^$/d' Makefile.am
}
post_install() {
vbin url_handler.sh
vinstall sample.urlview 0644 etc urlview.conf
vinstall sample.urlview 0644 etc/skel .urlview
mv urlview.man urlview.1
vman urlview.1
vlicense COPYING
}