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-1.0.3/lndir-lndir-1.0.3.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
"
