# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libxfce4util
version=4.16.0
build=1sml
homepage="https://www.xfce.org"
download="https://archive.xfce.org/xfce/4.16/src/libxfce4util-$version.tar.bz2"
desc="Basic non-GUI utility library for Xfce"
requires="glib"

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

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

build() {
  ./configure \
    --prefix="" \
    --sbindir=/bin \
    --disable-static 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
db9d3da4dda73684ca02eb0ee26ad0120c606095cbacf1264ef0008c3b2dcbda2b2d7f367c4ed442cf4337f939f9c2768fdcc9bee945151612d9c8cc64c1628f  libxfce4util-4.16.0.tar.lz
"
