diff options
author | git user | 2023-09-04 14:32:42 +0200 |
---|---|---|
committer | git user | 2023-09-04 14:32:42 +0200 |
commit | 878edda1bf556125a068a9c1314a7d707d8b5648 (patch) | |
tree | 817ca315acf976cf48752b85197a3306fefcd2fe | |
parent | 3002513ed5167c9050b66abbdc23ee9c0c5a0348 (diff) | |
download | aur-878edda1bf556125a068a9c1314a7d707d8b5648.tar.gz |
Switched source protocol from http to https
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 10 insertions, 10 deletions
@@ -1,9 +1,9 @@ pkgbase = idos-timetable-browser-latest pkgdesc = Offline railway and other public transport timetable search engine by CHAPS. (Czech language by default.) pkgver = 1.30_lib2.11.0.0_date2023_06_08 - pkgrel = 2 + pkgrel = 4 epoch = 0 - url = http://chaps.cz/eng/download/idos/zip#kotvaprg + url = https://chaps.cz/eng/download/idos/zip#kotvaprg arch = i686 arch = x86_64 groups = idos-timetable @@ -19,9 +19,9 @@ pkgbase = idos-timetable-browser-latest provides = idos-timetable-lang-cz=1.30_lib2.11.0.0_date2023_06_08 conflicts = idos-timetable-browser replaces = idos-timetable-browser<=1.30_lib2.11.0.0_date2023_06_08 - source = ttakt-1.30_lib2.11.0.0_date2023_06_08.zip::http://ttakt.chaps.cz/TTAktual/Win/Zip/TTAKT.ZIP + source = ttakt-1.30_lib2.11.0.0_date2023_06_08.zip::https://ttakt.chaps.cz/TTAktual/Win/Zip/TTAKT.ZIP source = idos-timetable-browser.sh - source = IDOS-Licence.pdf::http://chaps.cz/files/idos/IDOS-Licence.pdf + source = IDOS-Licence.pdf::https://chaps.cz/files/idos/IDOS-Licence.pdf source = license-dummy.txt source = README.datafiles.txt source = ReadMe.cz.txt @@ -2,10 +2,10 @@ # PKGBUILD last time manually edited: At least on 2023-09-04. -url="http://chaps.cz/eng/download/idos/zip#kotvaprg" +url="https://chaps.cz/eng/download/idos/zip#kotvaprg" _zipfile="TTAKT.ZIP" _pkgver() { - # Reason for a $_pkgver(): Have something to run before source download so that we can have version aware source downloads. + # Reason for a _pkgver(): Have something to run before source download so that we can have version aware source downloads. _ver="$(wget -nv -O- "${url}" | grep 'Timetable browser, version' | head -n 1 | sed -r 's|^.*Timetable browser, version ([0-9\.]+),.*library version ([0-9\.]+).*$|\1_lib\2|g')" _date="$(wget -nv -O- "${url}" | tr -d '\a' | tr '\n' '\a' | sed 's|^.*File '"${_zipfile}"'\(.*\)Zip/'"${_zipfile}"'.*$|\1\n|g' | tr '\a' '\n' | grep 'Update date:' | cut -d, -f1 | sed -r 's|([0-9]+)\.([0-9]+)\.([0-9]+).|\n\3_\2_\1\n|g' | grep -E '^[0-9]+_[0-9]+_[0-9]+' | sed -E -e 's|_([0-9])_|_0\1_|g' -e 's|_([0-9])$|_0\1|g')" printf '%s\n' "${_ver}_date${_date}" @@ -15,8 +15,8 @@ _pkgname=idos-timetable-browser pkgname="${_pkgname}-latest" epoch=0 _pkgver="$(_pkgver)" # This should be set _before_ sources get downloaded. -pkgver=1.30_lib2.11.0.0_date2023_06_08 -pkgrel=2 +pkgver="${_pkgver}" +pkgrel=4 pkgdesc="Offline railway and other public transport timetable search engine by CHAPS. (Czech language by default.)" arch=('i686' 'x86_64') license=('custom') @@ -54,9 +54,9 @@ replaces=("${_pkgname}<=${pkgver}") _target="ttakt-${_pkgver}.zip" source=( - "${_target}::http://ttakt.chaps.cz/TTAktual/Win/Zip/${_zipfile}" + "${_target}::https://ttakt.chaps.cz/TTAktual/Win/Zip/${_zipfile}" "idos-timetable-browser.sh" - "IDOS-Licence.pdf::http://chaps.cz/files/idos/IDOS-Licence.pdf" + "IDOS-Licence.pdf::https://chaps.cz/files/idos/IDOS-Licence.pdf" "license-dummy.txt" "README.datafiles.txt" "ReadMe.cz.txt" |