aboutsummaryrefslogtreecommitdiffstats
path: root/community/atril/APKBUILD
blob: 782f2f01eb5e9761cd3c36f4cf144ac004f58515 (plain) (blame)
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
35
36
37
38
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=atril
pkgver=1.24.0
pkgrel=1
pkgdesc="A document viewer for MATE"
url="https://github.com/mate-desktop/atril"
arch="all !s390x !mips !mips64" # mate-desktop
license="GPL-2.0-or-later"
depends="mate-icon-theme"
# make check is broken: https://github.com/mate-desktop/atril/issues/167
options="!check"
makedepends="intltool glib-dev gtk+3.0-dev mate-desktop-dev
	dconf-dev libsm-dev libsecret-dev caja-extensions-dev caja-dev
	poppler-dev tiff-dev itstool libgxps-dev libxml2-utils libxml2-dev
	libspectre-dev python3-dev webkit2gtk-dev texlive-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/atril-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--enable-static=no \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="dfdd5ed82ba76c4f0a446a95b0a6201bedf8b4d00ff46ce697a5b937251f6d7a1888ca76eef623eb84dcddb425c7ad662e179f593686bba064b7491d4d940293  atril-1.24.0.tar.xz"