aboutsummaryrefslogtreecommitdiffstats
path: root/main/feh/APKBUILD
blob: 9022929c5b9b6c6e6aed176b67a73902554570e2 (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.13
pkgrel=0
pkgdesc="feh is a fast, lightweight image viewer which uses imlib2"
url="http://www.linuxbrit.co.uk/feh/"
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://derf.homelinux.org/~derf/projects/${pkgname}/${pkgname}-${pkgver}.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	sed -i -e "s:/usr/local:/usr:g" config.mk
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR=$pkgdir docsdir=/usr/share/doc/feh install || return 1
	install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
md5sums="014dd012faf8cdc482bbe7f60aba18a1  feh-2.13.tar.bz2"
sha256sums="f695d15f32263d174d1a51cf2389206e2ba7814a74f009121d26de1fe04fca19  feh-2.13.tar.bz2"
sha512sums="9806f3efa82de27c4559fd46763521dd9080d8548df97e68d11ed4d46c5000c6b4ec2c9e6441e58c2d462a8ecbd8eb4911a20d00e51e3ebc3092b71cdf4ed6a7  feh-2.13.tar.bz2"