# Maintainer: Connor Etherington # --- pkgname=lfp pkgver=2.7 pkgrel=1 pkgdesc='LF-Preview, a wrapper for the lf file manager with image previews, fuzzy-finding and more' license=('MIT') arch=('x86_64') install="lfp.install" url="https://gitlab.com/a4to/lfp" depends=(lf zsh ffmpeg ueberzug graphicsmagick ghostscript bat fzf dunst dialog xsel lolcat) conflicts=(lfp-git) optdepends=( 'nodejs: to make use of lfps built in node actions manager' ) source=( "https://concise.cc/pkg/${pkgname}-${pkgver}-${pkgrel}-$arch.pkg.tar.zst" "https://concise.cc/pkg/${pkgname}-${pkgver}-${pkgrel}-$arch.pkg.tar.zst.sig" ) sha512sums=( '4b835380a7a5ebd314668b3c56bb12403e17b376913c98c97ebdc29f81db02f694ad1be782dc3acf844e02784943f2541b84234bb47dcd422bd5863dcfc27445' '073a7d709435cdadf15b96b7dcad0d0b5c5e05d3464e7edc4093a3f41abf6c903a13401c92d78ebc6ab78d23968854909d22512c431fe954b436de92c8ae12a0' ) md5sums=( '1032eef24dc73e367cca86c9f244c2b6' 'f294c742ff0e7692d3e9932a59445841' ) validpgpkeys=('81BACEEBC3EA26E127166E4A819BB92A9A48160E') package() { install -Dm755 usr/bin/${pkgname} "${pkgdir}/usr/bin/${pkgname}" install -Dm755 usr/share/${pkgname}/{lfp,lfpcd,cleaner,scope} -t "${pkgdir}/usr/share/${pkgname}" install -Dm644 usr/share/${pkgname}/{lfp-icons,lfprc} -t "${pkgdir}/usr/share/${pkgname}" install -Dm644 usr/share/licenses/${pkgname}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm644 usr/share/doc/${pkgname}/README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" install -Dm644 usr/share/man/man1/${pkgname}.1.gz "${pkgdir}/usr/share/man/man1/${pkgname}.1.gz" }