aboutsummaryrefslogtreecommitdiffstats
path: root/testing/simple-scan/APKBUILD
blob: caaa0ee9af7ad4c4c5c994cfc4fe029062d76d68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=simple-scan
pkgver=3.32.2.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"
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="c49620c4be4289b18c792e35a01494a56a28b46e4f246a4c58203cf86cd34a1aa8f42738ef8b50ae6e99150630ec60f999b2000a8ee9674abc4f307db4c6c0cb  simple-scan-3.32.2.1.tar.xz"