aboutsummaryrefslogtreecommitdiffstats
path: root/community/eom/APKBUILD
blob: c62141cb57db764989c5959933ee70067c0c23c5 (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
35
36
37
38
39
40
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=eom
pkgver=1.20.0
pkgrel=0
pkgdesc="A simple graphics viewer for the MATE"
url="https://github.com/mate-desktop/eom"
arch="all"
license="GPL-2.0"
depends="mate-icon-theme libxml2-utils"
makedepends="glib-dev gtk+3.0-dev itstool mate-desktop-dev
	libexif-dev lcms2-dev dconf-dev dbus-dev librsvg-dev 
	libxslt-dev libpeas-dev dbus-glib-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--enable-static=no \
		--disable-schemas-compile \
		--prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="c83a9e92ff84be244ae86b9aeea57ad5c04d774562ba30795ba296bcd6ed0b7f5f2e387f367f0d1378f0f9b8964d326acb7359f156837e99590ee8d8dcbae8a3  eom-1.20.0.tar.xz"