void-packages/srcpkgs/surfraw/template

25 lines
667 B
Bash

# Template file for 'surfraw'
pkgname=surfraw
version=2.3.0
revision=1
_commit=8b7e1d1f4f63d07370953ffc3abe492f943c90a2
wrksrc="Surfraw-surfraw-${version}-${_commit}"
build_style=gnu-configure
short_desc="Command line interface to variety of search engines"
maintainer="Evan Deaubl <evan@deaubl.name>"
license="Public Domain"
noarch=yes
hostmakedepends="automake perl"
depends="perl"
homepage="https://gitlab.com/surfraw/Surfraw"
distfiles="https://gitlab.com/surfraw/Surfraw/repository/surfraw-${version}/archive.tar.gz"
checksum=164b311b0b328b65f0c0fb32259cc6eab95d82d39a8d35203ca3ad2becafbc08
pre_configure() {
./prebuild
}
post_install() {
vlicense COPYING
}