void-packages/srcpkgs/time/template
maxice8 4251d60398 time: update to 1.9.
Closes: #12448 [via git-merge-pr]
2018-03-12 17:51:41 -07:00

18 lines
559 B
Bash

# Template file for 'time'
pkgname=time
version=1.9
revision=1
build_style=gnu-configure
short_desc="The GNU time program for measuring cpu resource usage"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://directory.fsf.org/project/time"
license="GPL-3.0-or-later"
distfiles="$GNU_SITE/$pkgname/$pkgname-$version.tar.gz"
checksum=fbacf0c81e62429df3e33bda4cee38756604f18e01d977338e23306a3e3b521e
# Required by wait3(2) with musl
CFLAGS="-D_GNU_SOURCE"
do_install() {
make bindir="${DESTDIR}/usr/bin" infodir="${DESTDIR}/usr/share/info" install
}