desktop/feh/PKGBUILD
2014-04-01 21:59:56 +00:00

29 lines
792 B
Bash

# Maintainer: UtG <utg.chakra.linux[AT]gmail[dot]com>
pkgname=feh
pkgver=2.10
pkgrel=1
pkgdesc='Fast and light imlib2-based image viewer'
arch=('x86_64')
url="http://feh.finalrewind.org/"
license=('custom:MIT')
depends=('giblib' 'curl' 'libxinerama' 'libexif')
optdepends=('perl: feh-cam, webcam wrapper for feh'
'imagemagick: support more file formats')
makedepends=('libxt')
categories=('graphics')
source=("${url}${pkgname}-${pkgver}.tar.bz2"{,.asc})
sha1sums=('38b472f2a3222e287269a0719c7ead383f1cb8a5' 'SKIP')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make PREFIX=/usr exif=1 help=1 stat64=1
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make PREFIX=/usr DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}