summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEinhard Leichtfuß2023-09-17 14:17:37 +0200
committerEinhard Leichtfuß2023-09-17 14:17:37 +0200
commit59d590f15882604de128f674ad66881067c1b96c (patch)
tree8505e50e65998ee8d5ddc6a164f0d5d584118033
parenta4504fa5d01fc3c2a1c4dab8a830442265702561 (diff)
downloadaur-59d590f15882604de128f674ad66881067c1b96c.tar.gz
Upgrade all URLs to https
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a8b80d7ba2f0..5c09c226b11e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = dict-foldoc
pkgdesc = The Free On-line Dictionary of Computing for dictd et al.
pkgver = 20230915_215830
- pkgrel = 1
+ pkgrel = 2
url = https://foldoc.org/
install = dict-foldoc.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 3d7cb07dd09e..898e83588139 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Enrico Morelli <morelli@cerm.unifi.it>
pkgname=dict-foldoc
pkgver=20230915_215830
-pkgrel=1
+pkgrel=2
pkgdesc="The Free On-line Dictionary of Computing for dictd et al."
arch=('any')
url="https://foldoc.org/"
@@ -16,7 +16,7 @@ install=${pkgname}.install
# Calculate the version now in order to make sources belonging to different
# versions distinguishable.
-_datestr="$(curl -sI foldoc.org/Dictionary \
+_datestr="$(curl -sI https://foldoc.org/Dictionary \
| sed -nE 's/^[Ll]ast-[Mm]odified: (.*)$/\1/p')"
_var_pkgver=$(date --utc --date="$_datestr" +%Y%m%d_%H%M%S)
_srcfile=Dictionary-${_var_pkgver}
@@ -46,7 +46,7 @@ build()
_datestr=$(date --utc --date=${pkgver%_*} +%Y-%m-%d)
dictfmt < $_srcfile -f \
- --allchars -u http://foldoc.org/Dictionary \
+ --allchars -u https://foldoc.org/Dictionary \
-s "The Free On-line Dictionary of Computing (${_datestr})" \
--utf8 foldoc