void-packages/srcpkgs/dateutils/template
2020-02-24 08:54:17 +01:00

22 lines
700 B
Bash

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