summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedroHLC2020-08-26 17:42:02 -0300
committerPedroHLC2020-08-26 17:42:02 -0300
commit1c133e37e40c1986fe7ced6b6e3cd15a5bba406c (patch)
treeb4892f0ecabc88d9bf28f7f44f6619a13f1eeade
downloadaur-1c133e37e40c1986fe7ced6b6e3cd15a5bba406c.tar.gz
Initial version
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD31
-rw-r--r--mirrorlist10
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..bec326d20c27
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = chaotic-mirrorlist
+ pkgdesc = Chaotic-AUR mirror list for use by pacman
+ pkgver = 20200826
+ pkgrel = 1
+ url = https://lonewolf.pedrohlc.com/chaotic-aur
+ arch = any
+ license = GPL
+ backup = etc/pacman.d/chaotic-mirrorlist
+ source = mirrorlist
+ sha256sums = dbd52de968e80756f409e88597554e44dcf45c7cf18f09deb6d40492dcb9f51f
+
+pkgname = chaotic-mirrorlist
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..4e91f22a01ab
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Pedro H. Lara Campos <root@pedrohlc.com>
+# Contributor: Florian Pritz <bluewind@xinu.at>
+# Contributor: Dan McGee <dan@archlinux.org>
+
+pkgname=chaotic-mirrorlist
+pkgver=20200826
+pkgrel=1
+pkgdesc="Chaotic-AUR mirror list for use by pacman"
+arch=('any')
+url="https://lonewolf.pedrohlc.com/chaotic-aur"
+license=('GPL')
+backup=(etc/pacman.d/chaotic-mirrorlist)
+source=(mirrorlist)
+
+# NOTE on building this package:
+# * Go to the trunk/ directory
+# * Run bash -c ". PKGBUILD; updatelist"
+# * Update the checksums, update pkgver
+# * Build the package
+
+updatelist() {
+ rm -f mirrorlist
+ curl -o mirrorlist "$url/mirrorlist"
+}
+
+package() {
+ mkdir -p "$pkgdir/etc/pacman.d"
+ install -m644 "$srcdir/mirrorlist" "$pkgdir/etc/pacman.d/chaotic-mirrorlist"
+}
+
+sha256sums=('dbd52de968e80756f409e88597554e44dcf45c7cf18f09deb6d40492dcb9f51f')
diff --git a/mirrorlist b/mirrorlist
new file mode 100644
index 000000000000..db8a79270ad7
--- /dev/null
+++ b/mirrorlist
@@ -0,0 +1,10 @@
+# Brazil - UFSCar
+Server = http://lonewolf-builder.duckdns.org/$repo/$arch
+# Brazil - UFSCar (Cloudflare cache)
+Server = https://lonewolf.pedrohlc.com/$repo/$arch
+# USA (Cloudflare proxy)
+Server = https://repo.kitsuna.net/$arch
+# Germany
+Server = http://chaotic.bangl.de/$repo/$arch
+# Netherlands
+Server = https://chaotic.tn.dedyn.io/$arch