# Contributor: Rasmus Thomsen # Contributor: Leonardo Arena # Maintainer: Rasmus Thomsen pkgname=simple-scan pkgver=3.34.2 pkgrel=1 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=debugoptimized \ output . ninja -C output } check() { ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="9b0039abdf408e4b0ff7041fdf5810477c57a883193c8245b68ab7afa839536ca88a420c87f8792a379cbd70589f3be6fa9365f0edd9c31449c2033ae46b3e6e simple-scan-3.34.2.tar.xz"