summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordreieck2023-05-17 22:36:34 +0200
committerdreieck2023-05-17 22:36:34 +0200
commitc46aa35dd2a4276ec642a46c31c2b9b13dc4d138 (patch)
treeff3c77cc181211b14ee6ab5762b9ce2ab27fd55f
parentd417b8328517ed1b15422c34cbdcf9cac10358b4 (diff)
downloadaur-c46aa35dd2a4276ec642a46c31c2b9b13dc4d138.tar.gz
Version bump.
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD10
2 files changed, 10 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 293881ebaf71..58c7dcac43ce 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index dbb27891a925..239d9d2d3ff3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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'
}