amorphis

LOW
maintainer dani-77 0 votes scanned 2026-10-24 11:40:05.027745
View on AUR
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: Daniel Azevedo <daniazevedo77@posteo.net>
2
3pkgname=amorphis
4pkgver=0.1.0
5pkgrel=1
6pkgdesc="Small fail-closed screen locker for Wayland and X11"
7arch=('x86_64' 'aarch64')
8url="https://github.com/dani-77/amorphis"
9license=('MIT')
10depends=('gcc-libs' 'glibc' 'libxcb' 'libxkbcommon' 'libxkbcommon-x11' 'pam')
11makedepends=('cargo' 'pkgconf')
12backup=('etc/pam.d/amorphis')
13options=('!debug')
14source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz"
15 'amorphis.pam')
16sha256sums=('f4e74759840855a0e79cad9f7fa2cd100b611ccf7f300cb8a90a3e3b18f01278'
17 'b23a0ff8022f51f692b498fb3c78d467ea6575e0ccf9d42fc4172ff539116a9a')
18
19prepare() {
20 cd "$pkgname-$pkgver"
21 export RUSTUP_TOOLCHAIN=stable
22 cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
23}
24
25build() {
26 cd "$pkgname-$pkgver"
27 export RUSTUP_TOOLCHAIN=stable
28 export CARGO_TARGET_DIR=target
29 cargo build --frozen --release
30}
31
32check() {
33 cd "$pkgname-$pkgver"
34 export RUSTUP_TOOLCHAIN=stable
35 export CARGO_TARGET_DIR=target
36 cargo test --frozen --release
37}
38
39package() {
40 cd "$pkgname-$pkgver"
41 install -Dm755 target/release/amorphis "$pkgdir/usr/bin/amorphis"
42 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
43 install -Dm644 "$srcdir/amorphis.pam" "$pkgdir/etc/pam.d/amorphis"
44}
45

Scan history

Scanned at (UTC)SeverityRules
2026-10-24 11:40:05 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion