aboutsummaryrefslogtreecommitdiffstats
path: root/main/feh/APKBUILD
blob: 44fca8ada333ba8e6f8c60c12fd9a881f391b7d5 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=feh
pkgver=1.7
pkgrel=0
pkgdesc="feh is a fast, lightweight image viewer which uses imlib2"
url="http://www.linuxbrit.co.uk/feh/"
license="MIT"
subpackages="$pkgname-doc"
depends=
makedepends="libxt-dev libpng-dev giblib-dev imlib2-dev jpeg-dev 
	libxinerama-dev wget"
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="59181976384d1f5bddae016b39334e2e  feh-1.7.tar.bz2"