aboutsummaryrefslogtreecommitdiffstats
path: root/main/feh/APKBUILD
blob: ea3f73916cd9a3665b25ed719e4cef1a178aafbf (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=feh
pkgver=2.19.1
pkgrel=0
pkgdesc="feh is a fast, lightweight image viewer which uses imlib2"
url="http://feh.finalrewind.org/"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
depends=
makedepends="libxt-dev libpng-dev giblib-dev imlib2-dev libjpeg-turbo-dev
	libxinerama-dev curl-dev"
source="https://feh.finalrewind.org/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	make PREFIX=/usr -C "$builddir" || return 1
}

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 \
		-C "$builddir" install || return 1
}

sha512sums="cc019654c36a8fec9a4fb8d7fd47ea75e7a0ef5a754f06702da6898a9ec7a48f9f8bde10a60e25a077dd46b3defe67dbf6a6bc4c7d9ba7079ea5e472840a36d9  feh-2.19.1.tar.bz2"