desktop/feh/PKGBUILD

28 lines
808 B
Bash
Raw Normal View History

2010-08-06 06:16:31 +08:00
pkgname=feh
2018-07-05 10:00:19 +08:00
pkgver=2.27
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-07-05 10:00:19 +08:00
sha256sums=('af326845ef7483ecbffde697fdadb39298a68069d79644e249c69c9ad464c64e')
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
}