aboutsummaryrefslogtreecommitdiffstats
path: root/main/feh/APKBUILD
blob: 6127e53956c29d9af590896e34708a2b3426a80a (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.24
pkgrel=1
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="5d745586201dfc9b72a2e3987aed5d9c36f18c3123d3083c1c130f6b301da98dccbc79bc6aa55c70a895e831a7325c4cbf75fa2ca82a3a05eda3e98e1de8cb7d  feh-2.24.tar.bz2"