polland-de-minimal

LOW
maintainer PolJak 0 votes scanned 2026-09-02 19:51:22.089411
View on AUR
Why flagged

The package installs configuration files and a sync script from its own git repository; the only risk is overwriting user configs, which is clearly warned about but does not involve remote code execution or malicious payloads.

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 installs configuration files and a sync script from its own git repository; the only risk is overwriting user configs, which is clearly warned about but does not involve remote code execution or malicious payloads.

PKGBUILD

1# Maintainer: PolJak <polesnik.jaka@gmail.com>
2
3pkgname=polland-de-minimal
4pkgver=1.0.0
5pkgrel=1
6pkgdesc="A desktop environment built on top of the shoulders of giants and the personality of some guy somewhere. Built on top of hyprland. Comes with minimal extra dependencies apart from function giving ones."
7arch=('x86_64' 'aarch64')
8url="https://github.com/Pol-Jak-295/PolLand"
9license=('AGPL')
10depends=('hyprland' 'rofi' 'waybar' 'kitty' 'awww' 'swaync' 'hyprlock' 'nwg-bar' 'sddm' 'sddm-sugar-candy-git' 'darkman' 'playerctl' 'brightnessctl' 'wireplumber' 'pipewire' 'pipewire-pulse' 'kexec-tools')
11makedepends=('git')
12provides=('polland-de')
13conflicts=('polland-de')
14source=("git+https://github.com/Pol-Jak-295/PolLand.git")
15sha256sums=('SKIP')
16install='polland-de.install'
17
18package() {
19 cd "$srcdir/polland"
20
21 # === SYSTEM CONFIGS (source of truth) ===
22 mkdir -p "$pkgdir/usr/share/polland/configs"
23
24 config_dirs=( "hypr" "waybar" "rofi" "kitty" "nvim" "gtk-3.0" "gtk-4.0" "ani-cli" "images" "nwg-bar" "fastfetch" "swaync")
25
26 for dir in "${config_dirs[@]}"; do
27 if [ -d "$srcdir/polland/$dir" ]; then
28 cp -r "$srcdir/polland/$dir" "$pkgdir/usr/share/polland/configs/"
29 fi
30 done
31
32 # Shell configs
33 for file in ".zshrc" ".zshrc.core" ".zshrc.aliases" ".zshrc.functions" ".zprofile"; do
34 if [ -f "$srcdir/polland/$file" ]; then
35 cp "$srcdir/polland/$file" "$pkgdir/usr/share/polland/configs/"
36 fi
37 done
38
39 # === SKEL FOR NEW USERS ===
40 mkdir -p "$pkgdir/etc/skel/.config"
41 for dir in "${config_dirs[@]}"; do
42 if [ -d "$srcdir/polland/$dir" ]; then
43 cp -r "$srcdir/polland/$dir" "$pkgdir/etc/skel/.config/"
44 fi
45 done
46
47 for file in ".zshrc" ".zshrc.core" ".zshrc.aliases" ".zshrc.functions" ".zprofile"; do
48 if [ -f "$srcdir/polland/$file" ]; then
49 cp "$srcdir/polland/$file" "$pkgdir/etc/skel/"
50 fi
51 done
52
53 # === ROOT STUFF ===
54 # SDDM config
55 if [ -f "$srcdir/polland/etc/sddm.conf" ]; then
56 mkdir -p "$pkgdir/etc/sddm.conf.d"
57 cp "$srcdir/polland/etc/sddm.conf" "$pkgdir/etc/sddm.conf.d/99-polland.conf"
58 fi
59
60 # Wallpapers
61 if [ -d "$srcdir/polland/images" ]; then
62 mkdir -p "$pkgdir/usr/share/wallpapers"
63 cp -r "$srcdir/polland/images/"* "$pkgdir/usr/share/wallpapers/" 2>/dev/null || true
64 fi
65
66 # SDDM theme
67 if [ -d "$srcdir/polland/sugar-candy" ]; then
68 mkdir -p "$pkgdir/usr/share/sddm/themes"
69 cp -r "$srcdir/polland/sugar-candy" "$pkgdir/usr/share/sddm/themes/"
70 fi
71
72 # nwg-bar icons
73 if [ -d "$srcdir/polland/nwg-bar/icons" ]; then
74 mkdir -p "$pkgdir/usr/share/nwg-bar/images"
75 cp -r "$srcdir/polland/nwg-bar/icons" "$pkgdir/usr/share/nwg-bar/images/"
76 fi
77
78 # === INSTALL SYNC SCRIPT ===
79 mkdir -p "$pkgdir/usr/lib/polland"
80
81 cat > "$pkgdir/usr/lib/polland/sync-user-config.sh" << 'EOF'
82#!/bin/bash
83# Polland v1 - Simple config sync
84# WARNING: This overwrites existing configs with package defaults
85# No backups, no merging - just fresh configs
86
87REPO_CONFIGS="/usr/share/polland/configs"
88USER_CONFIGS="$HOME/.config"
89
90echo "🏰 Installing PolLand configs..."
91
92# Confirm with user
93echo ""
94echo "⚠️ WARNING: This will OVERWRITE your current configs in:"
95echo " $USER_CONFIGS/"
96echo ""
97echo " Your existing configs will be DELETED."
98echo ""
99read -p "Continue? [y/N] " -n 1 -r
100echo ""
101if [[ ! $REPLY =~ ^[Yy]$ ]]; then
102 echo "❌ Aborted."
103 exit 1
104fi
105
106config_dirs=( "hypr" "waybar" "rofi" "kitty" "nvim" "gtk-3.0" "gtk-4.0" "ani-cli" "images" "nwg-bar" "fastfetch" "swaync")
107
108for dir in "${config_dirs[@]}"; do
109 if [ -d "$REPO_CONFIGS/$dir" ]; then
110 mkdir -p "$USER_CONFIGS"
111 # Remove existing config
112 rm -rf "$USER_CONFIGS/$dir"
113 # Copy fresh configs
114 cp -r "$REPO_CONFIGS/$dir" "$USER_CONFIGS/"
115 echo " ✅ Installed $dir"
116 fi
117done
118
119# Shell configs
120shell_files=( ".zshrc" ".zshrc.core" ".zshrc.aliases" ".zshrc.functions" ".zprofile" )
121for file in "${shell_files[@]}"; do
122 if [ -f "$REPO_CONFIGS/$file" ]; then
123 rm -f "$HOME/$file"
124 cp "$REPO_CONFIGS/$file" "$HOME/"
125 echo " ✅ Installed $file"
126 fi
127done
128
129# Wallpapers
130if [ -d "$REPO_CONFIGS/images" ]; then
131 mkdir -p "$HOME/.config/PolLand"
132 rm -rf "$HOME/.config/PolLand/images"
133 cp -r "$REPO_CONFIGS/images" "$HOME/.config/PolLand/"
134 echo " 🖼️ Installed wallpapers"
135fi
136
137echo ""
138echo "✅ Installation complete!"
139echo "💡 Reload Hyprland with Super+Shift+R"
140echo ""
141echo "📝 Note: This is v1 - no user override support yet."
142echo " Your changes will be overwritten on the next update."
143EOF
144
145 chmod +x "$pkgdir/usr/lib/polland/sync-user-config.sh"
146
147 # Install wrapper
148 mkdir -p "$pkgdir/usr/bin"
149 cat > "$pkgdir/usr/bin/polland-sync" << 'EOF'
150#!/bin/bash
151exec /usr/lib/polland/sync-user-config.sh "$@"
152EOF
153 chmod +x "$pkgdir/usr/bin/polland-sync"
154}
155

Scan history

Scanned at (UTC)SeverityRules
2026-09-02 19:51:22 Low 2
2026-09-02 17:51:12 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