# Maintainer: Balló György <ballogyor+arch at gmail dot com>

pkgname=drawing
pkgver=0.8.3
pkgrel=1
pkgdesc='Drawing application for the GNOME desktop'
arch=('any')
url='https://github.com/maoschanz/drawing'
license=('GPL3')
depends=('gtk3' 'python-cairo' 'python-gobject')
makedepends=('appstream-glib' 'meson')
source=("https://github.com/maoschanz/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('e0b78746d8ce4411ecd8eb55ff9ac731c914ab5fc4efe5c072ba613157cd34e3')

build() {
  arch-meson $pkgname-$pkgver build
  ninja -C build
}

check() {
  meson test -C build
}

package() {
  DESTDIR="$pkgdir" meson install -C build
}
