diff options
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 10 insertions, 10 deletions
@@ -1,7 +1,7 @@ pkgbase = idos-timetable-data-chaps-trains-common-latest pkgdesc = Common files needed for train timetable data for the timetable search engines by CHAPS. - pkgver = 2022_5_4 - pkgrel = 2 + pkgver = 2023_05_17 + pkgrel = 1 epoch = 0 url = http://chaps.cz/eng/download/idos/zip#kotvatt arch = any @@ -9,10 +9,10 @@ pkgbase = idos-timetable-data-chaps-trains-common-latest license = custom makedepends = wget depends = idos-timetable-browser - provides = idos-timetable-data-chaps-trains-common=2022_5_4 - provides = idos-timetable-data-trains-common=2022_5_4 + provides = idos-timetable-data-chaps-trains-common=2023_05_17 + provides = idos-timetable-data-trains-common=2023_05_17 conflicts = idos-timetable-data-chaps-trains-common - source = vlak22c.zip::http://ttakt.chaps.cz/TTAktual/Win/Zip/VLAK22C.ZIP + source = vlak23c.zip::http://ttakt.chaps.cz/TTAktual/Win/Zip/VLAK23C.ZIP source = IDOS-Licence.pdf::http://chaps.cz/files/idos/IDOS-Licence.pdf source = license-dummy.txt sha256sums = SKIP @@ -1,14 +1,14 @@ # Maintainer: dreieck -# PKGBUILD last time manually edited: At least on 2022-05-04. +# PKGBUILD last time manually edited: At least on 2023-05-17. -_year=22 +_year=23 _pkgname=idos-timetable-data-chaps-trains-common pkgname="${_pkgname}-latest" epoch=0 -pkgver=2022_5_4 -pkgrel=2 +pkgver=2023_05_17 +pkgrel=1 pkgdesc="Common files needed for train timetable data for the timetable search engines by CHAPS." arch=(any) url="http://chaps.cz/eng/download/idos/zip#kotvatt" @@ -53,7 +53,7 @@ sha256sums=( ) pkgver() { - 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]+' + 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' } |