summaryrefslogtreecommitdiff
path: root/user/eom/APKBUILD
blob: 45856d598121ba75a1bc7704e35e2788b7b8d3f3 (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
39
40
41
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=eom
pkgver=1.26.1
pkgrel=0
pkgdesc="Image viewer for the MATE desktop environment"
url="https://mate-desktop.org"
arch="all"
license="GPL-2.0+ AND LGPL-2.0+ AND GPL-2.0-only"
depends=""
makedepends="gobject-introspection-dev gtk+3.0-dev intltool itstool
	mate-desktop-dev libjpeg-turbo-dev libexif-dev libpeas-dev librsvg-dev
	libxml2-dev libxml2-utils wayland-protocols"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/eom-$pkgver.tar.xz"

prepare() {
	default_prepare
	rm -r help/ja
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="263eb6a843577f3ba399fa27b6a9087246053dffd963090933f6bb11b762e1049fdc7b0fd52a6987f40fb57be76d68f6964413a0c12437fb00b8766dc17b7648  eom-1.26.1.tar.xz"