void-packages/srcpkgs/edbrowse/template
2021-07-12 20:36:23 +02:00

31 lines
915 B
Bash

# Template file for 'edbrowse'
pkgname=edbrowse
version=3.8.0
revision=2
build_style=gnu-makefile
hostmakedepends="perl pkg-config"
makedepends="libcurl-devel libtidy5-devel pcre-devel quickjs-devel
readline-devel"
make_build_args="QUICKJS_LDFLAGS=-lquickjs"
make_use_env=true
short_desc="Line-oriented text editor, web browser and mail client similar to ed(1)"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later, MIT"
homepage="http://edbrowse.org/"
distfiles="https://github.com/CMB/edbrowse/archive/v${version}.tar.gz"
checksum=5d512b63ee69e418e5946557ebc703c19e6dccc515f358649a2d38063a6d6a69
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
make_build_args+=" QUICKJS_LDFLAGS+=-latomic"
fi
do_install() {
vbin src/edbrowse
vsconf doc/sample.ebrc
vman doc/man-edbrowse-debian.1 edbrowse.1
vdoc doc/usersguide.html
vdoc README
vdoc CHANGES
vlicense COPYING
}