app=libwacom
version=0.29
build=1sml
homepage="https://github.com/linuxwacom/libwacom"
download="https://github.com/linuxwacom/libwacom/archive/refs/tags/libwacom-$version.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
"
