aboutsummaryrefslogtreecommitdiffstats
path: root/main/feh/APKBUILD
blob: 51df947c8d3d3abb3f8a79da05e9fba636a2d227 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=feh
pkgver=2.26
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 giblib-dev imlib2-dev libjpeg-turbo-dev libpng-dev
	libxinerama-dev libxt-dev"
source="https://feh.finalrewind.org/$pkgname-$pkgver.tar.bz2"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	make PREFIX=/usr
}

package() {
	cd "$builddir"
	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="4fe21f2292e7433a459e9df2b23725cd487be562190747f849efa0fa4bc72f034d70e9b8c26e3be65cc254a815f09ac313ff428e442aa230ceb94c4b6499d335  feh-2.26.tar.bz2"