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-0.6.2.tar.bz2"
desc="Notification daemon for the Xfce desktop"
requires="libnotify libxfce4ui"

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

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

  sed -e "s/^systemd_user_in_files =.*/systemd_user_in_files =/"  -i Makefile.in

  ./configure \
    --prefix="" \
    --sysconfdir=/etc 

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
13fdbcd5031ad44a89327eb65356a4d2c45315e0c8c507e457eee4cc95898794679163de9603a2059d9aaf20d62df317f8a09e0353f6adb526970a21d580b325  xfce4-notifyd-0.6.2.tar.bz2
"
