summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD10
2 files changed, 8 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f19f4d634da3..c600860b20fd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = idos-timetable-data-chaps-trains-idol-2018-latest
pkgdesc = 2017/2018 Timetable data for the timetable search engines by CHAPS: Trains in Liberec public transport reagion (IDOL). Note that this timetable needs the purchased version of IDOS to run.
- pkgver = 2018_11_29
+ pkgver = 2018_12_9
pkgrel = 1
epoch = 0
url = http://chaps.cz/eng/download/idos/zip#kotvatt
@@ -13,14 +13,14 @@ pkgbase = idos-timetable-data-chaps-trains-idol-2018-latest
optdepends = idos-timetable-maps-mhd-idol: For displaying routes on maps.
optdepends = idos-timetable-additionalinfo-mhd-idol: For additional information.
optdepends = idos-timetable-browser-license: To use this timetable.
- provides = idos-timetable-data-chaps-trains-idol-2018=2018_11_29
- provides = idos-timetable-data=2018_11_29
- provides = idos-timetable-data-trains=2018_11_29
- provides = idos-timetable-data-trains-idol=2018_11_29
- provides = idos-timetable-data-trains-idol-2018=2018_11_29
+ provides = idos-timetable-data-chaps-trains-idol-2018=2018_12_9
+ provides = idos-timetable-data=2018_12_9
+ provides = idos-timetable-data-trains=2018_12_9
+ provides = idos-timetable-data-trains-idol=2018_12_9
+ provides = idos-timetable-data-trains-idol-2018=2018_12_9
conflicts = idos-timetable-data-chaps-trains-idol-2018
replaces = idos-timetable-data-chaps-trains-europe-latest
- replaces = idos-timetable-data-chaps-trains-idol-2018<=2018_11_29
+ replaces = idos-timetable-data-chaps-trains-idol-2018<=2018_12_9
source = vlakidol18.zip::http://ttakt.chaps.cz/TTAktual/Win/Zip/VLAKIDOL18.ZIP
source = IDOS-Licence.pdf::http://chaps.cz/files/idos/IDOS-Licence.pdf
source = license-dummy.txt
diff --git a/PKGBUILD b/PKGBUILD
index 11fd4615a223..6f80d94ff441 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ _prevyear="$(( ${_year} - 1 ))"
_pkgname="idos-timetable-data-chaps-trains-idol-20${_year}"
pkgname="${_pkgname}-latest"
epoch=0
-pkgver=2018_11_29
+pkgver=2018_12_9
pkgrel=1
pkgdesc="20${_prevyear}/20${_year} Timetable data for the timetable search engines by CHAPS: Trains in Liberec public transport reagion (IDOL). Note that this timetable needs the purchased version of IDOS to run."
arch=(any)
@@ -70,14 +70,6 @@ sha256sums=(
"c6bb216055d3670d3100b7a74e04ce0644030f365f4349a09e630ef60fbcb9a4"
)
-pkgver() {
- # Do not use metadata of the source file, but do website parsing: So we do not need to download the file to (AUR-)update the package version with our own crude hacked script 'idos-aur-update-versions.sh'.
- #date -r "${srcdir}/${_target}" +"%Y_%m_%d"
-
- 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]+'
-}
-
-
package() {
_instdirbase='/opt/idos-timetable'
_instdir="${pkgdir}/${_instdirbase}"