APP=libwacom
VERSION=0.29
BUILD=1sml
HOMEPAGE="https://github.com/linuxwacom/libwacom"
DOWNLOAD="https://github.com/linuxwacom/libwacom/archive/refs/tags/libwacom-0.29.tar.gz"
DESC="Library to identify Wacom tablets and their features"
REQUIRES="glib libxml2 "

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

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

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

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
22fb7610a21a577d7ebc567e14ed1135b883723bc6c37adda540915261ebaea2365e4ab19339beefe6c412ba3c45e85b958129ddb24bff8ec73338b7a63a70ff  libwacom-0.29.tar.bz2
"
