summaryrefslogtreecommitdiff
path: root/libre/pacman-mirrorlist
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2021-08-03 03:17:14 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2021-08-03 03:43:03 -0400
commit0cce31770b3715ceece74c2793a491fa602f4ddb (patch)
tree41011221368b8f3f4f8d2d27e41241ec1387531e /libre/pacman-mirrorlist
parent2234c8c9ae380ca35d4de1aea8a6a37e42cbeff8 (diff)
downloadabslibre-0cce31770b3715ceece74c2793a491fa602f4ddb.tar.gz
abslibre-0cce31770b3715ceece74c2793a491fa602f4ddb.tar.bz2
abslibre-0cce31770b3715ceece74c2793a491fa602f4ddb.zip
[pacman-mirrorlist]: restore pkgver()
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()
{