mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
29 lines
923 B
Bash
29 lines
923 B
Bash
pkgname=feh
|
|
pkgver=2.14
|
|
pkgrel=1
|
|
pkgdesc='Fast and light imlib2-based image viewer'
|
|
arch=('x86_64')
|
|
url="http://feh.finalrewind.org/"
|
|
license=('custom:MIT')
|
|
depends=('imlib2' 'curl' 'libxinerama' 'libexif')
|
|
optdepends=('perl: feh-cam, webcam wrapper for feh'
|
|
'imagemagick: support more file formats')
|
|
makedepends=('libxt')
|
|
categories=('graphics')
|
|
source=("${url}${pkgname}-${pkgver}.tar.bz2")
|
|
sha512sums=('6a50ff787d4eecbfa830da7d7c6eec6feffbe883d48fb52b2a08471c8e1b5f0952e5c316ae67aad2b4feaa517bcb16ab8d5a19bd02832f33933dfd78f3a16243')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make PREFIX=/usr exif=1 help=1 stat64=1
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make PREFIX=/usr DESTDIR="${pkgdir}" install
|
|
|
|
# .desktop isn't needed since feh is a terminal app
|
|
rm ${pkgdir}/usr/share/applications/${pkgname}.desktop
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|