blob: 0d54bf4db86841bc44a50facadbf98ee8971b703 (
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
38
|
# Maintainer: Connor Etherington <connor@concise.cc>
# ---
pkgname=lfp
pkgver=2.2
pkgrel=1
pkgdesc='LF-Preview, a wrapper for the lf file manager with image previews, and other features'
license=('MIT')
arch=('x86_64')
install="lfp.install"
url="https://gitlab.com/a4to/lfp"
depends=(lf zsh ffmpeg ueberzug graphicsmagick ghostscript bat)
optdepends=(
'dialog: Required by many lfp functions outside the scope of image and video previews'
'dunst: To receive notifications upon task completion and so forth'
'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=(
'016076cd9609e82ba4560d28e5108df8c64d099e4d55c04de3f76a378dde790da0495c7a42e0d3c4cac76cc503bfea9f6c3fd8c3a926f89139a9e86cb1ef14ea'
'fe9979abbd20a36c5934802338ffe5254881b46e20488b1374c5ed7686b2036c091483356cb86d4f4bbdebdbdc4fd2d43fe4c65542535491346afa98ae0c4f4e'
)
md5sums=(
'bdf7ee567f4e848fcddfcc8af50c1fea'
'bf4ea7c2824d5ce258d66ae0a6b3d82d'
)
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"
}
|