# $Id: PKGBUILD 167203 2012-09-27 22:43:39Z bisson $ # Maintainer: Gaetan Bisson # Contributor: Andrea Scarpino # Contributor: dorphell # Contributor: Tom Newsom pkgname=feh pkgver=2.6.3 pkgrel=1 pkgdesc='Fast and light imlib2-based image viewer' url='http://feh.finalrewind.org/' license=('custom:MIT') arch=('i686' 'x86_64' 'mips64el') depends=('giblib' 'curl' 'libxinerama' 'libexif') optdepends=('perl: feh-cam, webcam wrapper for feh' 'imagemagick: support more file formats') makedepends=('libxt') source=("${url}${pkgname}-${pkgver}.tar.bz2") sha1sums=('3aa991b1596d5bc1fb35e8a1b356b5f1a8a9c04e') build() { cd "${srcdir}/${pkgname}-${pkgver}" make PREFIX=/usr exif=1 help=1 } package() { cd "${srcdir}/${pkgname}-${pkgver}" make PREFIX=/usr DESTDIR="${pkgdir}" install install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }