aboutsummaryrefslogtreecommitdiffstats
path: root/community/eog/APKBUILD
blob: 0fa581bb581a5f8437c1db93f939b52d819f77fd (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.26.0
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.26/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="c838ba0ba403af139cf2b135777d66298f615522add563bdf7b0316b543804f81649a191d2d337ebf2f4ba4a9a6572f735e2d400f87e05302e4c73f5a919608d  eog-3.26.0.tar.xz"