aboutsummaryrefslogtreecommitdiffstats
path: root/community/eog/APKBUILD
blob: 9345b495206cad733837ad9f0002480bbd47cc1a (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
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=eog
pkgver=3.24.1
pkgrel=0
pkgdesc="an image viewer for GNOME"
url="https://wiki.gnome.org/Apps/EyeOfGnome"
arch="all"
license="GPL"
depends=""
depends_dev="gtk+3.0-dev gvfs-dev libxml2-dev jpeg-dev libexif-dev lcms2-dev libpeas-dev librsvg-dev gnome-desktop-dev"
makedepends="$depends_dev itstool libxml2-utils"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://ftp.gnome.org/pub/GNOME/sources/eog/3.24/eog-$pkgver.tar.xz"
builddir="$srcdir/eog-$pkgver"

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

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

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

sha512sums="c007b6f2cd2b59747db72a5b86ecb34ac87fe0910a2d33df466eb05ebe5ff638fb9e57b15f2ea9328c95037334a2fd9010895241ff285628b7ed7b6d65912fb0  eog-3.24.1.tar.xz"