lmv
LOW
maintainer Deltacat
0 votes
scanned 2026-08-29 17:40:20.882297
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: Undercat037 <deltacatdeveloper@gmail.com>
2
pkgname=lmv
3
pkgver=1.3.0
4
pkgrel=1
5
pkgdesc="Utility for moving a file/directory to a new location, leaving a symlink to it in the old location"
6
arch=('x86_64')
7
url="https://github.com/Undercat037/lmv"
8
license=('GPL-3.0-only')
9
makedepends=('cargo')
10
source=("$pkgname::git+https://github.com/Undercat037/lmv.git#tag=v$pkgver")
11
sha256sums=('9d0db53f828d266add85d28b912555ef444c777dd69b6c9f803a610510a45ed3')
12
13
build() {
14
cd "lmv"
15
cargo build --release
16
}
17
18
package() {
19
cd "lmv"
20
local bin="target/release/lmv"
21
22
_gen_or_die() {
23
local out="$1"
24
shift
25
if ! "$bin" "$@" >"$out" || [ ! -s "$out" ]; then
26
error "\"$bin $*\" produced no output - refusing to package an empty file"
27
return 1
28
fi
29
}
30
31
install -Dm755 target/release/lmv "$pkgdir/usr/bin/lmv"
32
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
33
install -Dm644 README.MD "$pkgdir/usr/share/doc/$pkgname/README.md"
34
35
_gen_or_die comp.bash --gen-completions bash
36
install -Dm644 comp.bash "$pkgdir/usr/share/bash-completion/completions/lmv"
37
_gen_or_die comp.zsh --gen-completions zsh
38
install -Dm644 comp.zsh "$pkgdir/usr/share/zsh/site-functions/_lmv"
39
_gen_or_die comp.fish --gen-completions fish
40
install -Dm644 comp.fish "$pkgdir/usr/share/fish/vendor_completions.d/lmv.fish"
41
}
42
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-29 17:40:20 | Low | 1 |