APP=tree
VERSION=1.6.0
BUILD=1sml
HOMEPAGE="http://mama.indstate.edu/users/ice/tree/"
DOWNLOAD="http://mama.indstate.edu/users/ice/tree/src/tree-1.6.0.tgz"
DESC="program to display a directory tree"
REQUIRES="musl"

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

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

  make
  install -Dm 755 tree $PKG/bin/tree
  install -Dm 644 doc/tree.1 $PKG/share/man/man1/tree.1

  cp LICENSE $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
43ec8adf83dd5d42c3216c15b643fa3cb1905313817b4a7bc0b15682f1124f3707ef5e004fb1e344307c8a58e17785f9b0e2066f7cc880701f849bc885ab40f1  tree-1.6.0.tar.lz
"
