summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorfelics2018-12-10 15:38:16 +0100
committerfelics2018-12-10 15:38:16 +0100
commit80d532c0d8fc083a3ebefb8a4cd321bb7315a765 (patch)
tree903dbf42b928a174ddabecff05ba7bd180dcf6bc /PKGBUILD
parentfcc7797334e4b3840bf301b0a61a6c7fdf826c59 (diff)
downloadaur-idos-timetable-data-chaps-trains-idol-2018-latest.tar.gz
Finalised $pkgver. 2018 data is fading out.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 1 insertions, 9 deletions
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}"