24 lines
766 B
Bash
24 lines
766 B
Bash
# Template file for 'urlview'
|
|
pkgname=urlview
|
|
version=0.9
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="mk-configure"
|
|
makedepends="ncurses-devel"
|
|
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-or-later"
|
|
homepage="https://github.com/sigpipe/urlview"
|
|
distfiles="https://gnupg.org/ftp/mutt/contrib/$pkgname-$version.tar.gz"
|
|
checksum=74d18026e84e3cd70a3fdd1a7247a68031b0c1c1c6d761d64b7063ff71091cc3
|
|
|
|
pre_configure() {
|
|
vsed -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
|
|
vman urlview.{man,1}
|
|
}
|