void-packages/srcpkgs/dateutils/template

23 lines
699 B
Bash

# Template file for 'dateutils'
pkgname=dateutils
version=0.4.5
revision=1
build_style=gnu-configure
configure_args="ax_cv_zoneinfo_tzdir=/usr/share/zoneinfo"
short_desc="Nifty command line date and time utilities"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://www.fresse.org/dateutils/"
changelog="http://www.fresse.org/dateutils/changelog.html"
distfiles="https://bitbucket.org/hroptatyr/dateutils/downloads/${pkgname}-${version}.tar.xz"
checksum=16d6a0fe7b7d49ddbb303f33538dd7304a0d4af5a0369bcbf275db6a5060cbde
post_extract() {
sed -i '/sysctl\.h/d' build-aux/yuck.c
}
post_install() {
vlicense LICENSE
rm ${DESTDIR}/usr/share/doc/${pkgname}/LICENSE
}