void-packages/srcpkgs/runawk/template

23 lines
671 B
Bash

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