diff options
author | felics | 2018-12-10 15:27:24 +0100 |
---|---|---|
committer | felics | 2018-12-10 15:27:24 +0100 |
commit | 51fec7af68ffec232e141a7f2490828162f5cf18 (patch) | |
tree | 25db3ae89afe55d92e873a7120826c1581d5dc20 | |
parent | bed5b6d823328f7b34d8b3e6123b6c5502e3fc1d (diff) | |
download | aur-51fec7af68ffec232e141a7f2490828162f5cf18.tar.gz |
finalised $pkgver.
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 9 insertions, 16 deletions
@@ -1,6 +1,6 @@ pkgbase = idos-timetable-data-chaps-trains-europe-2018-latest pkgdesc = 2017/2018 Timetable data for the timetable search engines by CHAPS: European trains. - pkgver = 2018_11_29 + pkgver = 2018_12_10 pkgrel = 1 epoch = 0 url = http://chaps.cz/eng/download/idos/zip#kotvatt @@ -15,14 +15,14 @@ pkgbase = idos-timetable-data-chaps-trains-europe-2018-latest optdepends = idos-timetable-maps-trains-sk: For displaying routes on (for Slovakia only). optdepends = idos-timetable-additionalinfo-trains-europe: For (links to) additional information about train composition and stations. optdepends = idos-timetable-additionalinfo-trains-sk: For (links to) additional information about train composition and stations (for Slovakia only). - provides = idos-timetable-data-chaps-trains-europe-2018=2018_11_29 - provides = idos-timetable-data=2018_11_29 - provides = idos-timetable-data-trains=2018_11_29 - provides = idos-timetable-data-trains-europe=2018_11_29 - provides = idos-timetable-data-trains-europe-2018=2018_11_29 + provides = idos-timetable-data-chaps-trains-europe-2018=2018_12_10 + provides = idos-timetable-data=2018_12_10 + provides = idos-timetable-data-trains=2018_12_10 + provides = idos-timetable-data-trains-europe=2018_12_10 + provides = idos-timetable-data-trains-europe-2018=2018_12_10 conflicts = idos-timetable-data-chaps-trains-europe-2018 replaces = idos-timetable-data-chaps-trains-europe-latest - replaces = idos-timetable-data-chaps-trains-europe-2018<=2018_11_29 + replaces = idos-timetable-data-chaps-trains-europe-2018<=2018_12_10 source = vlak18e.zip::http://ttakt.chaps.cz/TTAktual/Win/Zip/VLAK18E.ZIP source = IDOS-Licence.pdf::http://chaps.cz/files/idos/IDOS-Licence.pdf source = license-dummy.txt @@ -1,6 +1,6 @@ # Maintainer: dreieck -# PKGBUILD last time manually edited: At least on 2017-12-17. +# PKGBUILD last time manually edited: At least on 2018-12-10. _year='18' _prevyear="$(( ${_year} - 1 ))" @@ -8,7 +8,7 @@ _prevyear="$(( ${_year} - 1 ))" _pkgname="idos-timetable-data-chaps-trains-europe-20${_year}" pkgname="${_pkgname}-latest" epoch=0 -pkgver=2018_11_29 +pkgver=2018_12_10 pkgrel=1 pkgdesc="20${_prevyear}/20${_year} Timetable data for the timetable search engines by CHAPS: European trains." arch=(any) @@ -72,13 +72,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}" |