app=libxfce4util
version=4.16.0
build=1sml
homepage="https://www.xfce.org"
download="https://archive.xfce.org/xfce/4.16/src/libxfce4util-4.16.0.tar.bz2"
desc="Basic non-GUI utility library for Xfce"
requires="glib"

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

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

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --localstatedir=/var \
    --sbindir=/bin \
    --disable-static 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
dce6992c3da73367461d7464794a9b2a5503666113682e07a86e18b1c5383de2b087809448d5729097571f4fda6b4af5f4f4600848514ab2ab4b3f367ca26f5c  libxfce4util-4.16.0.tar.bz2
"