automorph-git

LOW
maintainer 9M2PJU 0 votes scanned 2026-10-23 05:36:55.005421
View on AUR
Why flagged

The package builds from a public git repository and downloads a JAR file from GitHub Releases of a known project; the only concerns are low-risk due to few votes and recent upload, but all sources are verifiable and from project-owned repositories.

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.

Low AI review llm_review

An AI model (qwen/qwen3-235b-a22b-2507) reviewed this and agrees it is LOW (confidence 95%): The package builds from a public git repository and downloads a JAR file from GitHub Releases of a known project; the only concerns are low-risk due to few votes and recent upload, but all sources are verifiable and from project-owned repositories.

PKGBUILD

1# Maintainer: 9M2PJU <9m2pju@gmail.com>
2# AUR package for AutoMorph (git snapshot). Release tarballs are published
3# as .deb/.rpm/.AppImage — see packaging/install.sh for those.
4pkgname=automorph-git
5_pkgbase=automorph
6pkgver=r32.5b79369
7pkgrel=1
8pkgdesc="Self-hosted tool for automatically patching and distributing Android packages (Morphe Desktop)"
9arch=('x86_64' 'aarch64')
10url="https://github.com/holjab/AutoMorph"
11license=('MIT')
12depends=('python>=3.12' 'jre21-openjdk-headless' 'curl' 'ca-certificates')
13makedepends=('git')
14provides=("$_pkgbase")
15conflicts=("$_pkgbase" "$_pkgbase-bin")
16install=$pkgname.install
17_morphever=1.19.0
18source=("git+https://github.com/9M2PJU/AutoMorph.git"
19 "morphe-desktop-${_morphever}-all.jar::https://github.com/MorpheApp/morphe-desktop/releases/download/v${_morphever}/morphe-desktop-${_morphever}-all.jar")
20sha256sums=('SKIP'
21 'deb5d931f3899b20a119637473d338c52585f0c561b5d8b2856b916fe90163b5')
22
23pkgver() {
24 cd "$srcdir/AutoMorph"
25 # Fallback scheme when no tags exist yet; switches to git describe once tagged.
26 if git describe --long --tags >/dev/null 2>&1; then
27 git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
28 else
29 printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
30 fi
31}
32
33package() {
34 cd "$srcdir/AutoMorph"
35 install -dm755 "$pkgdir/opt/automorph/tools" \
36 "$pkgdir/usr/bin" \
37 "$pkgdir/usr/lib/systemd/system" \
38 "$pkgdir/usr/share/doc/$_pkgbase"
39
40 cp -r scripts web defaults "$pkgdir/opt/automorph/"
41 install -Dm644 requirements.txt "$pkgdir/opt/automorph/requirements.txt"
42 install -Dm644 LICENSE "$pkgdir/opt/automorph/LICENSE"
43 install -Dm755 packaging/automorph "$pkgdir/usr/bin/automorph"
44 install -Dm644 packaging/automorph.service "$pkgdir/usr/lib/systemd/system/automorph.service"
45 install -Dm644 example.env "$pkgdir/usr/share/doc/$_pkgbase/example.env"
46 install -Dm644 "$srcdir/morphe-desktop-${_morphever}-all.jar" \
47 "$pkgdir/opt/automorph/tools/morphe-desktop-${_morphever}-all.jar"
48 ln -s "morphe-desktop-${_morphever}-all.jar" "$pkgdir/opt/automorph/tools/morphe.jar"
49
50 # Stamp the web UI version with the AUR pkgver
51 printf '{"version":"%s-%s","branch":"git","commit":"%s"}\n' \
52 "$pkgver" "$pkgrel" "$pkgver" > "$pkgdir/opt/automorph/web/version.json"
53}
54

Scan history

Scanned at (UTC)SeverityRules
2026-10-23 05:36:55 Low 2

Report a package

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

0 / 4000
Your suggestion