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-$version.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
"
