updated pacman.conf

This commit is contained in:
Sohrab Behdani 2024-10-17 12:08:08 +03:30
parent bb40c35d62
commit ef681f0b94
6 changed files with 10 additions and 13 deletions

View file

@ -1,7 +1,7 @@
# Maintainer: Parchlinux
pkgname=parch-pacman
destname="/"
pkgver=27
pkgver=29
pkgrel=0
pkgdesc="parchlinux custom pacman config"
arch=('any')

View file

@ -14,7 +14,7 @@
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
HookDir = /etc/pacman.d/hooks/
#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
@ -35,8 +35,10 @@ Color
CheckSpace
VerbosePkgLists
ParallelDownloads = 5
DownloadUser = alpm
#DisableSandbox
DisableDownloadTimeout
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
@ -91,18 +93,16 @@ Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
[ppr]
SigLevel = Optional TrustAll
Include = /etc/pacman.d/ppr-mirrorlist
Include = /etc/pacman.d/parch-mirrors
[pcp]
SigLevel = Optional TrustAll
Include = /etc/pacman.d/pcp-mirrorlist
Include = /etc/pacman.d/parch-mirrors
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

View file

@ -0,0 +1 @@
Server = https://mirror.parchlinux.com/repos/$repo/$arch

View file

@ -1 +0,0 @@
Server = https://raw.githubusercontent.com/parchlinux/pcp/main/x86_64/

View file

@ -1 +0,0 @@
Server = https://raw.githubusercontent.com/parchlinux/ppr/main/x86_64/

View file

@ -2,9 +2,7 @@ post_install() {
cp etc/pacman.conf.parch etc/pacman.conf
cp etc/pacman.d/mirrorlist.parch etc/pacman.d/mirrorlist
cp etc/pacman.d/pcp-mirrorlist.parch etc/pacman.d/pcp-mirrorlist
cp etc/pacman.d/ppr-mirrorlist.parch etc/pacman.d/ppr-mirrorlist
cp etc/pacman.d/ptr-mirrorlist.parch etc/pacman.d/ptr-mirrorlist
cp etc/pacman.d/parch-mirrors.parch etc/pacman.d/parch-mirrors
rm /etc/pacman.d/*.parch
rm /etc/pacman.conf.parch
}