# Maintainer: PktSurf <smlinux@pktsurf.in>
app=startup-notification
version=0.12
build=1sml
homepage="https://www.freedesktop.org/"
download="https://www.freedesktop.org/software/startup-notification/releases/startup-notification-$version.tar.gz"
desc="Monitor and display application startup"
requires="libx11 xcb-util"

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

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

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

  make
  make install DESTDIR=$pkg

  cp COPYING ChangeLog $pkgdocs/

  mkfinalpkg
}

sha512sums="
0ac7c3776e6d53aef3e54b33fd68ab30c6e3adb353cb1f873592749603a4326c54d4ad6909df6e5eaa938046ff633dc6184551dce1b9fdaa398ebdc1a0512b5c  startup-notification-0.12.tar.lz
"
