# Description: Command line tools for desktop integration tasks.
# URL: https://www.freedesktop.org/wiki/Software/xdg-utils/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: xmlto lynx

name=xdg-utils
version=1.1.3
release=1
source=(https://portland.freedesktop.org/download/$name-$version.tar.gz
  drop_obsolete_GNOME_support.patch)

build() {
  cd $name-$version
  patch -Np1 -i ../drop_obsolete_GNOME_support.patch

  ./configure --prefix=/usr \
    --disable-nls
  make
  make DESTDIR=$PKG install
}
