# Maintainer: Natanael Copa pkgname=feh pkgver=2.15.2 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="56af710d9aea7d6ed0a7589f5d64cfc1 feh-2.15.2.tar.bz2" sha256sums="38c89b5d3109ca06d8917da334726d2b9e1a34f79e5091449ebf50e14199ce2e feh-2.15.2.tar.bz2" sha512sums="5e4838432699bc75f5c5a2388b3dcbe39edaa5b3eccb98c4f52a6ab04a651a133f81ae2f6b27f645e37fb8426ba8dba653d4e2b2c53ebebc5e00020e99bb7308 feh-2.15.2.tar.bz2"