desktop/feh/PKGBUILD

29 lines
923 B
Bash
Raw Normal View History

2010-08-06 06:16:31 +08:00
pkgname=feh
2015-10-11 04:26:53 +08:00
pkgver=2.14
pkgrel=1
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')
2015-05-21 18:09:10 +08:00
depends=('imlib2' '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')
2015-05-21 18:09:10 +08:00
source=("${url}${pkgname}-${pkgver}.tar.bz2")
2015-10-11 04:26:53 +08:00
sha512sums=('6a50ff787d4eecbfa830da7d7c6eec6feffbe883d48fb52b2a08471c8e1b5f0952e5c316ae67aad2b4feaa517bcb16ab8d5a19bd02832f33933dfd78f3a16243')
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
2015-05-21 18:09:10 +08:00
# .desktop isn't needed since feh is a terminal app
rm ${pkgdir}/usr/share/applications/${pkgname}.desktop
2011-08-16 04:07:57 +08:00
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
2010-08-06 06:16:31 +08:00
}