archrelease: copy trunk to extra-x86_64
[arch-packages.git] / feh / trunk / PKGBUILD
blob8dc558412bf0514cac9f0cd1b43d528d03d28ce7
1 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 # Contributor: dorphell <dorphell@archlinux.org>
4 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
6 pkgname=feh
7 pkgver=3.8
8 pkgrel=1
9 pkgdesc='Fast and light imlib2-based image viewer'
10 url='https://feh.finalrewind.org/'
11 license=('custom:MIT')
12 arch=('x86_64')
13 depends=('imlib2' 'curl' 'libexif' 'libxinerama')
14 optdepends=('imagemagick: support more file formats'
15             'jpegexiforient: set exif rotation tag')
16 makedepends=('libxt')
17 validpgpkeys=('781BB7071C6BF648EAEB08A1100D5BFB5166E005')
18 source=("${url}${pkgname}-${pkgver}.tar.bz2"{,.asc})
19 sha256sums=('7f3c34552b39336d7ebee2d7c4bf5697aaaa2c6c102c357f6e82ea240bd62ba9'
20             'SKIP')
22 build() {
23         cd "${srcdir}/${pkgname}-${pkgver}"
24         make PREFIX=/usr \
25                 exif=1 \
26                 help=1 \
27                 inotify=1 \
28                 stat64=1
31 package() {
32         cd "${srcdir}/${pkgname}-${pkgver}"
33         make PREFIX=/usr DESTDIR="${pkgdir}" install
34         install -D -m0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"