# Contributor: Max Rees <maxcrees@me.com> # Maintainer: Max Rees <maxcrees@me.com> pkgname=feh pkgver=3.2.1 pkgrel=0 pkgdesc="feh is a fast, lightweight image viewer which uses imlib2" url="https://feh.finalrewind.org/" arch="all" license="MIT-feh" depends="" makedepends="curl-dev imlib2-dev libexif-dev libjpeg-turbo-dev libpng-dev libxinerama-dev libxt-dev" checkdepends="perl-test-command" subpackages="$pkgname-doc" source="https://feh.finalrewind.org/$pkgname-$pkgver.tar.bz2" build() { make PREFIX=/usr curl=1 exif=1 xinerama=1 } check() { make PREFIX=/usr test } 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 \ install } sha512sums="11a136990f7d02409501f10553659c64ad5d18d4bfaa4e5cfdeb7a2f53ffdb8bd9b8347796c65e75c49615ac4c12bc81bf3a58325f778cb5e0c1608181d7b53a feh-3.2.1.tar.bz2"