# Maintainer: PktSurf <smlinux@pktsurf.in>
app=libxfce4ui
version=4.16.0
build=1sml
homepage="https://docs.xfce.org/xfce/libxfce4ui/start"
download="https://archive.xfce.org/xfce/4.16/src/libxfce4ui-$version.tar.bz2"
desc="Xfce widget library"
requires="libsm libepoxy libxfce4util xfconf gtk3"

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

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

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

  make
  make -j1 install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
2a4fa253b954e72a5183c1ede7a101b1469e289d4e6bc24e5e7015160fe3393ca7ddc727fcd1b68cad46fb7d1105867ac42cf3c7ffdb339f4c64de2f2f59cd04  libxfce4ui-4.16.0.tar.lz
"
