summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyano Hao2017-09-23 10:05:47 +0800
committerCyano Hao2017-09-23 10:05:47 +0800
commit126ba74081143466b7ad1a78f4efdc58e6b027bd (patch)
tree2149eaf3b73998a02996b65a1d7219bcbcfddc57
parent23a8cf0562b514538240243faf825c53e1ee7777 (diff)
downloadaur-126ba74081143466b7ad1a78f4efdc58e6b027bd.tar.gz
fix pkgver
-rw-r--r--PKGBUILD3
1 files changed, 1 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5a8e55f6e14..5462e7246e0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,9 +12,8 @@ url="https://www.mozilla.org/${_lang}/${_name}/${_channel}"
_version=58.0a1
declare -A _build_id
-
_build_id=(
- [id]="$(curl https://ftp.mozilla.org/pub/${_name}/${_channel}/latest-mozilla-central-l10n/${_name}-${_version}.${_lang}.linux-${CARCH}.checksums | grep -E -o '[[:digit:]]{14}' | sort | tail -n1)"
+ [id]="$(curl https://ftp.mozilla.org/pub/${_name}/${_channel}/latest-mozilla-central-l10n/${_name}-${_version}.${_lang}.linux-${CARCH}.checksums | grep '.partial.mar' | cut -f4 | grep -E -o '[[:digit:]]{14}' | sort | tail -n1)"
[year]="${_build_id[id]:0:4}"
[month]="${_build_id[id]:4:2}"
[day]="${_build_id[id]:6:2}"