aboutsummaryrefslogtreecommitdiffstats
path: root/community/feh/APKBUILD
blob: a593d5f8c2ddd6683490ceab34ca270f4f4223e4 (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=feh
pkgver=3.7
pkgrel=0
pkgdesc="Fast, lightweight image viewer which uses imlib2"
url="https://feh.finalrewind.org"
arch="all"
license="MIT-feh"
subpackages="$pkgname-doc"
makedepends="curl-dev imlib2-dev libjpeg-turbo-dev libpng-dev
	libxinerama-dev libxt-dev"
checkdepends="perl-utils perl-test-command"
source="https://feh.finalrewind.org/feh-$pkgver.tar.bz2"

build() {
	make PREFIX=/usr
}

check() {
	make test
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" \
		bin_dir="$pkgdir"/usr/bin \
		man_dir="$pkgdir"/usr/share/man \
		doc_dir="$pkgdir"/usr/share/doc/$pkgname \
		example_dir="$pkgdir"/usr/share/doc/$pkgname/examples \
		install
}

sha512sums="
687d0863bb6bf99bc88ca22760ab670525e6d8ee4c984fa00d686adabd39b7bee2449d93beeb8863a161d2b1dfabed3cff035911711eb445b358ff5a4b77da3f  feh-3.7.tar.bz2
"