void-packages/srcpkgs/dateutils/template
2021-02-24 00:58:15 -03:00

22 lines
700 B
Bash

# Template file for 'dateutils'
pkgname=dateutils
version=0.4.8
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="Orphaned <orphan@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=3f7054a24cf3e3ea2c32a6b1f7474334c25b54e9c45c96b03f75eaaecc70c100
post_extract() {
vsed -i '/sysctl\.h/d' build-aux/yuck.c
}
post_install() {
vlicense LICENSE
rm ${DESTDIR}/usr/share/doc/${pkgname}/LICENSE
}