From 6d9f583295972b3a36d4f55a268934122de51af4 Mon Sep 17 00:00:00 2001
From: Sohrab Behdani <behdanisohrab@gmail.com>
Date: Tue, 23 Jul 2024 13:01:39 +0330
Subject: [PATCH] added pacman.conf example

---
 examples/pacman.conf.example | 101 +++++++++++++++++++++++++++++++++++
 1 file changed, 101 insertions(+)
 create mode 100644 examples/pacman.conf.example

diff --git a/examples/pacman.conf.example b/examples/pacman.conf.example
new file mode 100644
index 0000000..f14198e
--- /dev/null
+++ b/examples/pacman.conf.example
@@ -0,0 +1,101 @@
+
+#
+# /etc/pacman.conf
+#
+# See the pacman.conf(5) manpage for option and repository directives
+
+#
+# GENERAL OPTIONS
+#
+[options]
+# The following paths are commented out with their default values listed.
+# If you wish to use different paths, uncomment and update the paths.
+#RootDir     = /
+#DBPath      = /var/lib/pacman/
+CacheDir    = /var/cache/pacman/pkg
+#LogFile     = /var/log/pacman.log
+#GPGDir      = /etc/pacman.d/gnupg/
+#HookDir     = /etc/pacman.d/hooks/
+HoldPkg     = pacman glibc
+#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
+#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
+#CleanMethod = KeepInstalled
+Architecture = aarch64
+
+# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
+#IgnorePkg   =
+#IgnoreGroup =
+
+#NoUpgrade   =
+#NoExtract   =
+
+# Misc options
+#UseSyslog
+Color
+#NoProgressBar
+CheckSpace
+VerbosePkgLists
+ParallelDownloads = 4
+ILoveCandy
+
+# By default, pacman accepts packages signed by keys that its local keyring
+# trusts (see pacman-key and its man page), as well as unsigned packages.
+SigLevel    = Required DatabaseOptional
+LocalFileSigLevel = Optional
+#RemoteFileSigLevel = Required
+
+# NOTE: You must run `pacman-key --init` before first using pacman; the local
+# keyring can then be populated with the keys of all official Arch Linux ARM
+# packagers with `pacman-key --populate archlinuxarm`.
+
+#
+# REPOSITORIES
+#   - can be defined here or included from another file
+#   - pacman will search repositories in the order defined here
+#   - local/custom mirrors can be added here or in separate files
+#   - repositories listed first will take precedence when packages
+#     have identical names, regardless of version number
+#   - URLs will have $repo replaced by the name of the current repo
+#   - URLs will have $arch replaced by the name of the architecture
+#
+# Repository entries are of the format:
+#       [repo-name]
+#       Server = ServerName
+#       Include = IncludePath
+#
+# The header [repo-name] is crucial - it must be present and
+# uncommented to enable the repo.
+#
+
+
+[ppr]
+Server = https://raw.githubusercontent.com/parchlinux-arm/ppr/main/aarch64/
+SigLevel = Never
+
+[archsink]
+Server = https://github.com/archsink/\$arch/releases/latest/download
+SigLevel = Never
+
+[danctnix]
+Server = https://p64.arikawa-hi.me/$repo/$arch/
+SigLevel = Never
+
+[core]
+Server = http://mirror.archlinuxarm.org/$arch/$repo
+SigLevel = Never
+
+[extra]
+Server = http://mirror.archlinuxarm.org/$arch/$repo
+SigLevel = Never
+
+[community]
+Server = http://mirror.archlinuxarm.org/$arch/$repo
+SigLevel = Never
+
+[alarm]
+Server = http://mirror.archlinuxarm.org/$arch/$repo
+SigLevel = Never
+
+[aur]
+Server = http://mirror.archlinuxarm.org/$arch/$repo
+SigLevel = Never