aboutsummaryrefslogtreecommitdiffstats
path: root/main/feh/APKBUILD
blob: c80863358cd64b2f070f1956b3ba01417618cf92 (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.25.1
pkgrel=0
pkgdesc="Fast, lightweight image viewer which uses imlib2"
url="https://feh.finalrewind.org"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
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"
}

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
}

sha512sums="a821d46901d4cf59bb09b911f28c6ab26fbd0ee9784b50fbacfb6cf23483da5d29ebbb4cc53b23289181bb3ba0dc9893a3f39a90b3420d0bd98d740d5583fc3e  feh-2.25.1.tar.bz2"