desktop/feh/PKGBUILD

29 lines
801 B
Bash
Raw Normal View History

2014-04-02 05:59:56 +08:00
# Maintainer: UtG <utg.chakra.linux[AT]gmail[dot]com>
2010-08-06 06:16:31 +08:00
pkgname=feh
2014-06-28 21:06:06 +08:00
pkgver=2.12
2015-02-18 19:25:28 +08:00
pkgrel=2
2014-04-02 05:59:56 +08:00
pkgdesc='Fast and light imlib2-based image viewer'
2012-12-26 01:28:28 +08:00
arch=('x86_64')
2014-04-02 05:59:56 +08:00
url="http://feh.finalrewind.org/"
license=('custom:MIT')
depends=('giblib' 'curl' 'libxinerama' 'libexif')
2013-07-27 19:05:02 +08:00
optdepends=('perl: feh-cam, webcam wrapper for feh'
'imagemagick: support more file formats')
2010-08-06 06:16:31 +08:00
makedepends=('libxt')
categories=('graphics')
2014-04-02 05:59:56 +08:00
source=("${url}${pkgname}-${pkgver}.tar.bz2"{,.asc})
2014-06-28 21:06:06 +08:00
sha1sums=('30eb2b778858b1f4ce97e44c8225758185b0c588'
'SKIP')
2010-08-06 06:16:31 +08:00
build() {
2011-08-16 04:07:57 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
2014-04-02 05:59:56 +08:00
make PREFIX=/usr exif=1 help=1 stat64=1
2010-08-06 06:16:31 +08:00
}
2011-08-16 04:07:57 +08:00
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make PREFIX=/usr DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
2010-08-06 06:16:31 +08:00
}