Skip to content

Commit

Permalink
[endeavouros-mirrorlist] added Ukrainian mirror ip-connect.info
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-192 committed Feb 2, 2024
1 parent e62d2f0 commit a5a86cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 15 deletions.
18 changes: 3 additions & 15 deletions endeavouros-mirrorlist/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Earlier maintainers: Portergos Linux <[email protected]>

pkgname=endeavouros-mirrorlist
pkgver=24
pkgver=24.1
pkgrel=1
pkgdesc="EndeavourOS mirrorlist"
arch=('any')
Expand All @@ -11,25 +11,13 @@ _url="https://raw.githubusercontent.com/endeavouros-team/PKGBUILDS/master/$pkgna

license=('GPL3')
options=(!strip !emptydirs)
backup=("etc/pacman.d/$pkgname") # to keep possibly ranked mirrorlist
backup=("etc/pacman.d/$pkgname") # keeps the possibly ranked mirrorlist

conflicts_aarch64=(endeavouros-arm-mirrorlist)
conflicts_armv7h=(endeavouros-arm-mirrorlist)

source=($_url/$pkgname)
sha512sums=('da40b3ea63760bd2ae869c82eaff3485f967c710363457db960fb2d47ab750604fa0d3af9f3e99c64d80984846b0f4d99d0b32023deea13f896fa31e81c7f5bc')

_not_used_prepare() {
# Create endeavouros-mirrorlist.offline for offline install.
# Prefer mirrors that work well worldwide.

local offline="endeavouros-mirrorlist.offline-install"
local mirrorlist=endeavouros-mirrorlist

printf "# EndeavourOS mirrorlist for offline install only.\n\n" > $offline
cat $mirrorlist | sed -n '/^## Germany/,/^$/p' >> $offline
cat $mirrorlist | sed -n '/^## [A-Z].*/,$p' >> $offline
}
sha512sums=('c8667d02b1d2dad544eb4c0412958fe0c2325724712e28d88911cea9ce5a7bf0fab19a729f365a89c0ccd405de386429de0922178bb80d6312b51933b930fcf0')

package() {
install -Dm644 "$srcdir/$pkgname" "$pkgdir/etc/pacman.d/$pkgname"
Expand Down
1 change: 1 addition & 0 deletions endeavouros-mirrorlist/endeavouros-mirrorlist
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ Server = https://mirror.archlinux.tw/EndeavourOS/repo/$repo/$arch

## Ukraine
Server = https://fastmirror.pp.ua/endeavouros/repo/$repo/$arch
Server = https://endeavouros.ip-connect.info/repo/$repo/$arch

## United States
Server = https://mirrors.gigenet.com/endeavouros/repo/$repo/$arch
Expand Down

0 comments on commit a5a86cd

Please sign in to comment.