void-packages/srcpkgs/urlview/template

25 lines
754 B
Bash
Raw Normal View History

# Template file for 'urlview'
pkgname=urlview
version=0.9
revision=1
build_style=gnu-configure
hostmakedepends="mk-configure"
makedepends="ncurses-devel"
2017-08-15 19:01:56 +02:00
conf_files="/etc/urlview.conf"
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
2017-08-15 19:01:56 +02:00
vinstall sample.urlview 0644 etc urlview.conf
vinstall sample.urlview 0644 etc/skel .urlview
vman urlview.{man,1}
}