app=lndir
version=1.0.3
build=1sml
homepage="https://gitlab.freedesktop.org/xorg/util/lndir"
download="https://gitlab.freedesktop.org/xorg/util/lndir/-/archive/lndir-$version/lndir-lndir-$version.tar.bz2"
desc="create a shadow directory of symbolic links to another directory tree"
requires="musl"

build() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    $builddist

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
f4286257b2b25c6b33d39d57aba90140dbf9d0ac37b23c05bcce1c23a4a90b0ed251cbdb4f3c8fe4563eb8ae4a4075ee8862a0c67dad0feb84b405212dba1421  lndir-1.0.3.tar.gz
"
