APP=time
VERSION=1.9
BUILD=1sml
HOMEPAGE="https://www.gnui.org/software/time/"
DOWNLOAD="https://ftp.gnu.org/gnu/time/time-1.9.tar.gz"
DESC="command for measuring program resource use"
REQUIRES="musl"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION 
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --sysconfdir=/etc 

  make
  make install DESTDIR=$PKG 

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
43f584decc52d2768e99634741504c7836d1f8345155b41bde4940486809711ffc014d12cd7029fd5f5fd16a26b7b6791ee72f628716b3b16218fde7a4cf3036  time-1.9.tar.lz
"
