desktop/feh/PKGBUILD

28 lines
810 B
Bash
Raw Normal View History

2010-08-06 06:16:31 +08:00
pkgname=feh
2018-11-06 11:50:22 +08:00
pkgver=2.28.1
2015-10-11 04:26:53 +08:00
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')
2017-06-08 06:54:15 +08:00
url="https://feh.finalrewind.org/"
2014-04-02 05:59:56 +08:00
license=('custom:MIT')
2015-05-21 18:09:10 +08:00
depends=('imlib2' 'curl' 'libxinerama' 'libexif')
2017-09-09 10:19:50 +08:00
optdepends=('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")
2018-11-06 11:50:22 +08:00
sha256sums=('97066765c61d7413ed40b20f3f62b5d934e94ec91cadd491ebce836e1fb02a72')
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
}