# Maintainer: PktSurf <smlinux@pktsurf.in>
app=xfce4-notifyd
version=0.6.2
build=1sml
homepage="https://docs.xfce.org/apps/notifyd/start"
download="https://archive.xfce.org/src/apps/xfce4-notifyd/0.6/xfce4-notifyd-$version.tar.bz2"
desc="Notification daemon for the Xfce desktop"
requires="libnotify libxfce4ui"

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

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

build() {
  sed -e "s/^systemd_user_in_files =.*/systemd_user_in_files =/"  -i Makefile.in

  ./configure \
    --prefix=""

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
e991397c47f7ed66c05f96a29f34c5403fbcfc7400aff01e40ce77bb7107733e1c9491beab6fc8cbee9174f74be6dd6369cf344f14fa50ac7bde637e18b935ee  xfce4-notifyd-0.6.2.tar.lz
"
