void-packages/srcpkgs/dateutils/template

21 lines
629 B
Bash

# Template file for 'dateutils'
pkgname=dateutils
version=0.4.3
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.eu>"
license="BSD"
homepage="http://www.fresse.org/dateutils/"
distfiles="https://bitbucket.org/hroptatyr/dateutils/downloads/${pkgname}-${version}.tar.xz"
checksum=b0d579062bc957823fb7efcb2c520fb6fb43ab79a352026402b06ecfc4c58f1a
post_extract() {
sed -i '/sysctl\.h/d' build-aux/yuck.c
}
post_install() {
vlicense LICENSE
rm ${DESTDIR}/usr/share/doc/${pkgname}/LICENSE
}