diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2020-12-02 14:33:46 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2020-12-02 14:33:55 +0100 |
commit | 386fa1973720acadb6c85f1e0dee1c86b9b8a6b7 (patch) | |
tree | f2b613c8a92e6e6558245deec5bdd99d98c2c265 /libre/pacman-mirrorlist | |
parent | 31164b60128451c64d2bd08cb094751407f6e3eb (diff) | |
download | abslibre-386fa1973720acadb6c85f1e0dee1c86b9b8a6b7.tar.gz abslibre-386fa1973720acadb6c85f1e0dee1c86b9b8a6b7.tar.bz2 abslibre-386fa1973720acadb6c85f1e0dee1c86b9b8a6b7.zip |
libre/pacman-mirrorlist: moving pkgver generation to pkgver() function
Diffstat (limited to 'libre/pacman-mirrorlist')
-rw-r--r-- | libre/pacman-mirrorlist/PKGBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libre/pacman-mirrorlist/PKGBUILD b/libre/pacman-mirrorlist/PKGBUILD index 0a0f15515..7ce69f873 100644 --- a/libre/pacman-mirrorlist/PKGBUILD +++ b/libre/pacman-mirrorlist/PKGBUILD @@ -6,7 +6,7 @@ pkgname=pacman-mirrorlist -pkgver=$(LC_ALL=C date -u +%Y%m%d) +pkgver=20201002 pkgrel=1.parabola2 pkgdesc="Parabola GNU/Linux-libre mirror list for use by pacman" arch=('any') @@ -18,6 +18,10 @@ source=(mirrorlist-${pkgver}.txt::${url}) sha256sums=('6b6e170d0d2bdd3fc9f45ca3f0c42f52f44b8cfa33eabf4b69d6facf6fc280fe') +pkgver() +{ + LC_ALL=C date -u +%Y%m%d +} prepare() { |