parent
01ea3b1761
commit
cd67da1598
2 changed files with 37 additions and 0 deletions
11
srcpkgs/urlview/patches/glibc-missing-include.patch
Normal file
11
srcpkgs/urlview/patches/glibc-missing-include.patch
Normal 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
26
srcpkgs/urlview/template
Normal 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
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue