APP=libgudev
VERSION=231
BUILD=1sml
HOMEPAGE="https://wiki.gnome.org/Projects/libgudev"
DOWNLOAD="https://gitlab.gnome.org/GNOME/libgudev/-/archive/231/libgudev-231.tar.bz2"
DESC="GObject bindings for libudev"
REQUIRES="glib git"

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

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

  ./configure \
    --prefix="" \
    --disable-static \
    --disable-umockdev 

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
08b50ffce99ef3f69537a7c921290a7eaba62fbbe7b9359d52edde151c46aa94e77bf01a174640fe8e5d40df6d142e5d14d9091e22346a67f4fcef71f74e1689  libgudev-231.tar.lz
"
