APP=xdg-user-dirs
VERSION=0.17
BUILD=1sml
HOMEPAGE="https://www.freedesktop.org/wiki/Software/xdg-user-dirs"
DOWNLOAD="http://user-dirs.freedesktop.org/releases/xdg-user-dirs-0.17.tar.gz"
DESC="Manage user directories like ~/Desktop and ~/Music"
REQUIRES="musl docbook"

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

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

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

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
a02cc251f2d0a8bd0dad498901c8c6fbe8dae0e0e156abcaf27b1ded376a1ed369c2e59201d56ab4e38c9d521026fa39199177f3868c30e5c50cc03665dc335f  xdg-user-dirs-0.17.tar.gz
"
