app=time
version=1.9
build=1sml
homepage="https://www.gnui.org/software/time/"
download="https://ftp.gnu.org/gnu/time/time-$version.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
"
