# Contributor: Rasmus Thomsen # Contributor: Leonardo Arena # Maintainer: Rasmus Thomsen pkgname=simple-scan pkgver=3.34.1 pkgrel=0 pkgdesc="Simple Scan allows you to get images from a scanner" url="https://gitlab.gnome.org/GNOME/simple-scan" arch="all" license="GPL-3.0-or-later" makedepends="sane-dev dconf-dev gtk+3.0-dev colord-dev libgusb-dev vala itstool libxml2-utils meson libwebp-dev" subpackages="$pkgname-doc $pkgname-lang" source="https://download.gnome.org/sources/simple-scan/${pkgver%.*}/simple-scan-$pkgver.tar.xz" build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --buildtype=release \ output . ninja -C output } check() { ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="c271ed3efc7abdb51985162639e710c3f08343a04577c904a3b4d3594f4acc5700673478c36a7c83ca73299136b88607e506fd4adf7f8ff31da24368b91233dc simple-scan-3.34.1.tar.xz"