aboutsummaryrefslogtreecommitdiffstats
path: root/main/feh/APKBUILD
blob: e6110725ee2e878ca5bf242d04f1b4a420515459 (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.12.1
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="cb56bbbab8e88663d57a69df7d87c7b1  feh-2.12.1.tar.bz2"
sha256sums="9026ece01d79560e1eff9715fa1765eef82e22c766da5994ee787984a6f466a1  feh-2.12.1.tar.bz2"
sha512sums="4afde8ed5e5bc3e44f1989aeafd26d10042e2064f1bf6edd9a01f075a42cfcdd83d6fa5f5698a2e43138b9a3c553a5604748b6b807eba25f83971f645269d993  feh-2.12.1.tar.bz2"