void-packages/srcpkgs/dateutils/template
2017-08-11 15:58:46 +02:00

20 lines
629 B
Bash

# Template file for 'dateutils'
pkgname=dateutils
version=0.4.2
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=ecdae892584098ee9d8f5b14bd555fd63e09d1199cb75aac6b02f09c7e2eb46b
post_extract() {
sed -i '/sysctl\.h/d' build-aux/yuck.c
}
post_install() {
vlicense LICENSE
rm ${DESTDIR}/usr/share/doc/${pkgname}/LICENSE
}