void-packages/srcpkgs/runawk/template

23 lines
657 B
Bash

# Template file for 'runawk'
pkgname=runawk
version=1.6.0
revision=2
wrksrc="${pkgname}-${pkgname}-${version}"
hostmakedepends="mk-configure perl"
depends="virtual?awk"
short_desc="Powerful wrapper for AWK interpreter"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="https://github.com/cheusov/runawk"
distfiles="https://github.com/cheusov/${pkgname}/archive/${pkgname}-${version}.tar.gz"
checksum=363032efa8adc49d7446b31782ca49b76913b8fd07b315a3d03c67d3d329620e
do_build() {
mkcmake ${makejobs} PREFIX=/usr
}
do_install() {
mkcmake install MANDIR=/usr/share/man STRIPFLAG= \
PREFIX=/usr DESTDIR="$DESTDIR"
vlicense doc/LICENSE
}