app=libhandy
version=1.4.0
build=1sml
homepage="https://gitlab.gnome.org/GNOME/libhandy/"
download="https://gitlab.gnome.org/GNOME/libhandy/-/archive/1.4.0/libhandy-1.4.0.tar.bz2"
desc="Collection of GTK+ widgets for mobile phones"
requires="webkitgtk libdazzle"
   
build() {
  mkandenterbuilddir
  rm -rf $app-$version

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

  mkdir smbuild && cd smbuild
  meson .. \
    --prefix="/" 

  ninja
  DESTDIR="$pkg" ninja install

  cp ../COPYING $pkgdocs/

  mkfinalpkg
}


sha512sums="
16ddb39a884e6a64e9e9a086a4fe54cf58d88ba08ccb54ffb48ba7e7a2896b242910603cbbad6a7417fcd888e5704a1b22aad6772f7286582a960cbc1a684a40  libhandy-1.4.0.tar.bz2
"
