# Maintainer: Natanael Copa pkgname=feh pkgver=2.20 pkgrel=0 pkgdesc="feh is a fast, lightweight image viewer which uses imlib2" url="http://feh.finalrewind.org/" 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() { make PREFIX=/usr -C "$builddir" || return 1 } package() { make PREFIX=/usr DESTDIR="$pkgdir" \ bin_dir="$pkgdir"/usr/bin \ man_dir="$pkgdir"/usr/share/man \ doc_dir="$pkgdir"/usr/share/doc/$pkgname \ example_dir="$pkgdir"/usr/share/doc/$pkgname/examples \ -C "$builddir" install || return 1 } sha512sums="a621bc0b1327666af4ae71f6a9c286535b7951bde10f93cc5281304a1ab30e2584f94a5eb48d74dfc40deb007d9f88256a984bcfe2469bf4e11a9d8c8aa52ffc feh-2.20.tar.bz2"