blob: ed3b1fef2685e9f34ecc0794289dc670b740434b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Connor Etherington <connor@concise.cc>
# ---
pkgname=lfp
pkgver=2.5
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=(
'git: cloning repos from within lfp'
)
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=(
'd2928ceb8cc5210a722f1b219cc95541671b5eb2372455c514a503d43b132adf64aecf2e1d1e2313756af7bb549673fd7b88c6bcaf5ffa72da1d0e22a1cead7e'
'544019011f272a66d08ee538a56be8aef6cdc448594bd6e10a54df246a7dcf2cc7163c7c755da54cafb04233e3f2ec3a0c8ef0f6727517f5262d6e3c4651f8f7'
)
md5sums=(
'1d94b3c84f5f624d6e460df80e2b0837'
'83d56a2410c5914136fc0242c7161656'
)
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"
}
|