# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xdg-utils
version=1.1.3
build=1sml
homepage="https://www.freedesktop.org/wiki/Software/xdg-utils/"
download="https://portland.freedesktop.org/download/xdg-utils-$version.tar.gz"
desc="Command line tools that assist applications in desktop integration"
requires="xmlto file docbook xset"

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

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

build() {
  ./configure \
    --prefix="" 

  make
  make install DESTDIR=$pkg 

  cp LICENSE $pkgdocs/

  mkfinalpkg
}

sha512sums="
8b4bcb4167b094ee5cc59d9f2f61062f6d69e4d1d3ec38b199eaa2f83e4e96b7f9b126e7a67054e929f7edb31f1c0778f59c7e113b7a766e3327bc6d894582c8  xdg-utils-1.1.3.tar.lz
"
