void-packages/srcpkgs/runawk/template

23 lines
657 B
Bash

# Template file for 'runawk'
pkgname=runawk
version=1.6.1
revision=1
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=4f0faf7ef1413aab91203a17cf84be729a23ac07337863e2c290131468376521
do_build() {
mkcmake ${makejobs} PREFIX=/usr
}
do_install() {
mkcmake install MANDIR=/usr/share/man STRIPFLAG= \
PREFIX=/usr DESTDIR="$DESTDIR"
vlicense doc/LICENSE
}