summaryrefslogtreecommitdiff
path: root/libre/pacman-mirrorlist
diff options
context:
space:
mode:
Diffstat (limited to 'libre/pacman-mirrorlist')
-rw-r--r--libre/pacman-mirrorlist/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/libre/pacman-mirrorlist/PKGBUILD b/libre/pacman-mirrorlist/PKGBUILD
index f71703cae..11782e22e 100644
--- a/libre/pacman-mirrorlist/PKGBUILD
+++ b/libre/pacman-mirrorlist/PKGBUILD
@@ -8,15 +8,14 @@
# Note: building and publishing this package is a bit delicate
# 1: modify 'mirrorlist.txt' on the repo server
# 2: `makepkg -g` (to get the new checksum)
-# 3: set 'pkgver' to YYYYMMDD
-# 4: put the new checksum in 'sha256sums'
+# 3: put the new checksum in 'sha256sums'
+# 4: if this PKGBUILD was modified for another reason, set 'pkgver' to YYYYMMDD
# 5: `sudo libremakepkg && librestage && librerelease` (to publish the new package)
pkgname=pacman-mirrorlist
-pkgver=20210225
-pkgrel=1
-pkgrel+=.parabola1
+pkgver=20210803
+pkgrel=1.parabola1
pkgdesc="Parabola GNU/Linux-libre mirror list for use by pacman"
arch=('any')
url="https://www.parabola.nu/"
@@ -27,6 +26,10 @@ source=(mirrorlist-${pkgver}.txt::https://repo.parabola.nu/mirrorlist.txt)
sha256sums=('0799119c19b0ca9b5f6aaaf272964c0728662d1a7f551e91cf34066bb1f6bd72')
+pkgver()
+{
+ LC_ALL=C date -u +%Y%m%d
+}
prepare()
{