chrona-packages/main/chrona-networkmanager-gtk/APKBUILD
Şahan Yılmaz 31810c0603 fix
2025-04-23 04:51:44 +03:00

33 lines
748 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Maintainer: Şahan Yılmaz <sahan@chrona.org.tr>
pkgname=chrona-networkmanager-gtk
pkgver=1.0
pkgrel=2
pkgdesc="NetworkMamager GTK for Chrona Linux"
url="https://chrona.org.tr"
arch="all"
license="MIT"
depends="networkmanager networkmanager-wifi network-manager-applet wpa_supplicant"
replaces="networkmanager"
package() {
mkdir -p "$pkgdir"
mkdir -p "$pkgdir"/etc/NetworkManager
mkdir -p "$pkgdir"/etc/NetworkManager/conf.d
cat <<EOF > "$pkgdir"/etc/NetworkManager/NetworkManager.conf
[main]
dhcp=internal
plugins=ifupdown,keyfile
[ifupdown]
managed=true
[device]
wifi.scan-rand-mac-address=yes
wifi.backend=wpa_supplicant
EOF
cat <<EOF > "$pkgdir"/etc/NetworkManager/conf.d/any-user.conf
[main]
auth-polkit=false
EOF
}