void-packages/srcpkgs/dateutils/template
2018-08-13 21:10:38 -03:00

22 lines
698 B
Bash

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