mlp
LOW
maintainer MasketLP
0 votes
scanned 2026-09-21 19:35:51.541891
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: MasketLP
2
#
3
# pkgver is rewritten from the release tag, and checksums by updpkgsums, by
4
# packaging/aur/publish.sh on every release.
5
pkgname=mlp
6
pkgver=0.5.0
7
pkgrel=1
8
pkgdesc='Encrypt and decrypt files with AES-256-GCM using an auto-managed keyfile'
9
arch=('x86_64' 'aarch64')
10
url='https://github.com/EldinBegano/mask-decryption'
11
license=('GPL-3.0-or-later')
12
depends=('glibc')
13
makedepends=('go')
14
options=('!lto' '!debug')
15
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
16
sha256sums=('64c4c12f8cd9d5d7216a1be382daba1892707f475da14cadb36994bc2a862ed0')
17
18
prepare() {
19
cd "mask-decryption-$pkgver"
20
export GOPATH="$srcdir/gopath"
21
export GOFLAGS='-modcacherw'
22
go list -deps ./cmd/mlp > /dev/null
23
}
24
25
build() {
26
cd "mask-decryption-$pkgver"
27
export GOPATH="$srcdir/gopath"
28
export CGO_CPPFLAGS="${CPPFLAGS}"
29
export CGO_CFLAGS="${CFLAGS}"
30
export CGO_CXXFLAGS="${CXXFLAGS}"
31
export CGO_LDFLAGS="${LDFLAGS}"
32
export GOFLAGS='-buildmode=pie -trimpath -mod=readonly -modcacherw'
33
go build -o mlp \
34
-ldflags "-linkmode external -extldflags \"${LDFLAGS}\" -X main.version=${pkgver}" \
35
./cmd/mlp
36
37
./mlp completion bash > mlp.bash
38
./mlp completion zsh > mlp.zsh
39
./mlp completion fish > mlp.fish
40
}
41
42
check() {
43
cd "mask-decryption-$pkgver"
44
export MLP_CONFIG_DIR="$srcdir/check-config"
45
printf 'roundtrip\n' > check.txt
46
./mlp encrypt check.txt
47
rm check.txt
48
./mlp decrypt check.mlp
49
test "$(cat check.txt)" = roundtrip
50
test "$(./mlp --version)" = "mlp $pkgver"
51
}
52
53
package() {
54
cd "mask-decryption-$pkgver"
55
install -Dm755 mlp "$pkgdir/usr/bin/mlp"
56
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
57
install -Dm644 mlp.bash "$pkgdir/usr/share/bash-completion/completions/mlp"
58
install -Dm644 mlp.zsh "$pkgdir/usr/share/zsh/site-functions/_mlp"
59
install -Dm644 mlp.fish "$pkgdir/usr/share/fish/vendor_completions.d/mlp.fish"
60
}
61
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-21 19:35:51 | Low | 1 |