void-packages/srcpkgs/dateutils/template
2019-03-19 04:12:03 -03:00

22 lines
700 B
Bash

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