aboutsummaryrefslogtreecommitdiffstats
path: root/main/feh/APKBUILD
blob: dfe838f8b1b01d2380729c5929e7185fc93e2dac (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.15.3
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://feh.finalrewind.org/${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="7dd4e7e9d1a33171c185918e9343b625  feh-2.15.3.tar.bz2"
sha256sums="629d5aa17bd519281abf9e2bed0fdfc3b0e3eaa4f1739dab6f995733406d21fc  feh-2.15.3.tar.bz2"
sha512sums="982c3d04a512a85f18133e2df3c2a4b8afd390225f69795071799014e3f61de84f6df0fbbd08f6693d3891caa5132b2697551758f09451042483a92cd52c04ad  feh-2.15.3.tar.bz2"