diff options
author | felics | 2018-12-18 11:34:19 +0100 |
---|---|---|
committer | felics | 2018-12-18 11:34:19 +0100 |
commit | 1002c7974e9defcef0e1074dec7e54437a71ed7e (patch) | |
tree | e161752d43456b4ab41ea08cd4815a73221babc1 | |
parent | 99a54ac0255097b1ce45151bde9cc81c97418840 (diff) | |
download | aur-1002c7974e9defcef0e1074dec7e54437a71ed7e.tar.gz |
Finalised $pkgver.
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 10 insertions, 18 deletions
@@ -1,7 +1,7 @@ pkgbase = idos-timetable-data-chaps-trains-odis-2018-latest pkgdesc = 2017/2018 Timetable data for the timetable search engines by CHAPS: Trains in Ostrava public transport reagion (ODIS). Note that this timetable needs the purchased version of IDOS to run. - pkgver = 2018_12_9 - pkgrel = 1 + pkgver = 2018_12_6 + pkgrel = 2 epoch = 0 url = http://chaps.cz/eng/download/idos/zip#kotvatt arch = any @@ -13,14 +13,14 @@ pkgbase = idos-timetable-data-chaps-trains-odis-2018-latest optdepends = idos-timetable-maps-mhd-odis: For displaying routes on maps. optdepends = idos-timetable-additionalinfo-mhd-odis: For additional information (changes, fare, sales points, etc.). optdepends = idos-timetable-browser-license: To use this timetable. - provides = idos-timetable-data-chaps-trains-odis-2018=2018_12_9 - provides = idos-timetable-data=2018_12_9 - provides = idos-timetable-data-trains=2018_12_9 - provides = idos-timetable-data-trains-odis=2018_12_9 - provides = idos-timetable-data-trains-odis-2018=2018_12_9 + provides = idos-timetable-data-chaps-trains-odis-2018=2018_12_6 + provides = idos-timetable-data=2018_12_6 + provides = idos-timetable-data-trains=2018_12_6 + provides = idos-timetable-data-trains-odis=2018_12_6 + provides = idos-timetable-data-trains-odis-2018=2018_12_6 conflicts = idos-timetable-data-chaps-trains-odis-2018 replaces = idos-timetable-data-chaps-trains-odis-latest - replaces = idos-timetable-data-chaps-trains-odis-2018<=2018_12_9 + replaces = idos-timetable-data-chaps-trains-odis-2018<=2018_12_6 source = vlakodis18.zip::http://ttakt.chaps.cz/TTAktual/Win/Zip/VLAKODIS18.ZIP source = IDOS-Licence.pdf::http://chaps.cz/files/idos/IDOS-Licence.pdf source = license-dummy.txt @@ -8,8 +8,8 @@ _prevyear="$(( ${_year} - 1 ))" _pkgname="idos-timetable-data-chaps-trains-odis-20${_year}" pkgname="${_pkgname}-latest" epoch=0 -pkgver=2018_12_9 -pkgrel=1 +pkgver=2018_12_6 +pkgrel=2 pkgdesc="20${_prevyear}/20${_year} Timetable data for the timetable search engines by CHAPS: Trains in Ostrava public transport reagion (ODIS). Note that this timetable needs the purchased version of IDOS to run." arch=(any) url="http://chaps.cz/eng/download/idos/zip#kotvatt" @@ -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}" |