mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
28 lines
810 B
Bash
28 lines
810 B
Bash
pkgname=feh
|
|
pkgver=2.28.1
|
|
pkgrel=1
|
|
pkgdesc='Fast and light imlib2-based image viewer'
|
|
arch=('x86_64')
|
|
url="https://feh.finalrewind.org/"
|
|
license=('custom:MIT')
|
|
depends=('imlib2' 'curl' 'libxinerama' 'libexif')
|
|
optdepends=('imagemagick: support more file formats')
|
|
makedepends=('libxt')
|
|
categories=('graphics')
|
|
source=("${url}${pkgname}-${pkgver}.tar.bz2")
|
|
sha256sums=('97066765c61d7413ed40b20f3f62b5d934e94ec91cadd491ebce836e1fb02a72')
|
|
|
|
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"
|
|
}
|