APP=libnotify
VERSION=0.7.7
BUILD=1sml
HOMEPAGE="https://gitlab.gnome.org/GNOME/libnotify"
DOWNLOAD="https://gitlab.gnome.org/GNOME/libnotify/-/archive/0.7.7/libnotify-0.7.7.tar.bz2"
DESC="Library for sending desktop notifications"
REQUIRES="xmlto gdk-pixbuf"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --enable-static=no \
    --enable-shared=yes \
    --disable-gtk-doc \
    --disable-gtk-doc-html \
    --disable-gtk-doc-pdf

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
0765c5851742e54846fd0e12b4a8bcc045c5a5cfbcac70f07f62d91e40d480ca817223d1326dbd50d4ee1e3fb7abb31daacebff5bb233874765cca2d01370dc1  libnotify-0.7.7.tar.lz
"
