57 lines
1.7 KiB
Bash
57 lines
1.7 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=feh
|
|
pkgver=3.9.1
|
|
pkgrel=03
|
|
pkgdesc='Fast and light imlib2-based image viewer'
|
|
url='https://feh.finalrewind.org/'
|
|
arch=('x86_64')
|
|
#depends=('imlib2' 'curl' 'libxinerama' 'libexif')
|
|
depends=('curl' 'file' 'imlib2' 'libexif' 'libxinerama')
|
|
optdepends=('imagemagick: support more file formats'
|
|
'jpegexiforient: set exif rotation tag')
|
|
makedepends=('libxt')
|
|
#options=('debug') ### uncomment this line to have the debug pkg produced
|
|
source=(${url}$pkgname-$pkgver.tar.bz2{,.asc})
|
|
|
|
#prepare() {
|
|
# cd "${srcdir}/${pkgname}-${pkgver}"
|
|
# patch -Np1 < ../0001-libmagic.patch
|
|
#}
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make PREFIX=/usr \
|
|
exif=1 \
|
|
help=1 \
|
|
inotify=1 \
|
|
magic=1 \
|
|
stat64=1
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make PREFIX=/usr DESTDIR="${pkgdir}" install
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
install -D -m0644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=('custom:MIT')
|
|
|
|
validpgpkeys=('781BB7071C6BF648EAEB08A1100D5BFB5166E005')
|
|
|
|
sha256sums=(455c92711b588af149b945edc5c145f3e9aa137ed9689dabed49d5e4acac75fa # feh-3.9.1.tar.bz2
|
|
0086e29cef7d20e38b9bd8b6fc3fe9770e0913cad2a5fed59c123dd3b1a47ad2) # feh-3.9.1.tar.bz2.asc
|
|
# cc2c7ca77c710001339cceb78225119e910bc6949ab2a3380b90caf84c0d3e41) # 0001-libmagic.patch
|
|
|
|
## 2c2752452a504215935ae7d18a2319bb7961bb10c50541e0e8acfd30226a5e15 feh-3.9.1-03-x86_64.pkg.tar.lz
|
|
|
|
|