# Maintainer: Natanael Copa pkgname=feh pkgver=2.7 pkgrel=1 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="ab1d9988ba701d724fdc7194137cc6d1 feh-2.7.tar.bz2"