# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xfce4-panel
version=4.16.1
build=1sml
homepage="https://docs.xfce.org/xfce/xfce4-panel/start"
download="https://archive.xfce.org/xfce/4.16/src/xfce4-panel-$version.tar.bz2"
desc="Panel for the Xfce Desktop Environment"
requires="desktop-file-utils exo garcon libxfce4ui xfconf"

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

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

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

  make
  make install DESTDIR=$pkg

  cp COPYING* $pkgdocs/

  mkfinalpkg
}

sha512sums="
0cec3ce868184eaf7d8f5c17c51556313b53f424a3e62e939fa293fcb49d1f5b3554ca6dba907a24b7b39e46a371d9ce75b908ed209876a77b22c37761ab44b1  xfce4-panel-4.16.1.tar.lz
"
