2010-08-06 06:16:31 +08:00
|
|
|
pkgname=feh
|
2016-04-10 23:29:01 +08:00
|
|
|
pkgver=2.15
|
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')
|
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')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('graphics')
|
2015-05-21 18:09:10 +08:00
|
|
|
source=("${url}${pkgname}-${pkgver}.tar.bz2")
|
2016-04-10 23:29:01 +08:00
|
|
|
sha256sums=('42baa20bc5044288de6f782f5298566ff74ccbfee157264dfc0f8ebebebbab39')
|
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
|
|
|
}
|