aboutsummaryrefslogtreecommitdiffstats
path: root/community/eog/APKBUILD
blob: 3863b6f7ef722f69c681643611c89ad69afa3ed9 (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.27.2
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="https://download.gnome.org/sources/eog/3.27/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="172c87d9411dec689753ff72eb7bc1c4d8cc64c4fcda1beaca4db65e2b7cf657cee8dea659bf4a7712a635d9003d7e826ab1da0a4e00b29f33256319a80bd1de  eog-3.27.2.tar.xz"