aboutsummaryrefslogtreecommitdiffstats
path: root/main/feh/APKBUILD
blob: c8bec88512bbdf544ea0efe664bd8cf13df41051 (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
30
31
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=feh
pkgver=2.18.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
}

md5sums="6a75eef6dbf539bacadfa341d490ac0d  feh-2.18.1.tar.bz2"
sha256sums="4c3840285eaf7ad474547d12870430d0392efdce4cf897666aa1ab02612e65b2  feh-2.18.1.tar.bz2"
sha512sums="e046d836e94d0d8d3fc26995d997545955c670e19ad0138681952c4b61c94608d31e86b7c72940c45080f8fe65ae2d1fa01d92934e7b58d6e9b175660cbb3289  feh-2.18.1.tar.bz2"