summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfelics2019-08-29 16:43:22 +0200
committerfelics2019-08-29 16:43:22 +0200
commit24437c7a297f632416b2294296c7779da6d79e80 (patch)
treeb23db3c432da3c80de7d4f37317c81d4d50e70ca
parent78a6a16c3a13be63a3e7c12be79525dae0148539 (diff)
downloadaur-24437c7a297f632416b2294296c7779da6d79e80.tar.gz
No more updates, fiexed pkgver
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD12
2 files changed, 2 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4a15af92da39..f31acfca54b1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = idos-timetable-data-zsr-europe+sk-2018-latest
pkgdesc = 2017/2018 Timetable data for the offline railway and other public transport timetable search engines by CHAPS: European and Slovak train data, provided by Inprop (Slovakia).
pkgver = 2019_4_12
- pkgrel = 1
+ pkgrel = 2
epoch = 1
url = http://www.inprop.sk/download.aspx
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 2d2266c19b0a..38443283e83f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ _pkgname="idos-timetable-data-zsr-europe+sk-20${_year}"
pkgname="${_pkgname}-latest"
epoch=1
pkgver=2019_4_12
-pkgrel=1
+pkgrel=2
pkgdesc="20${_prevyear}/20${_year} Timetable data for the offline railway and other public transport timetable search engines by CHAPS: European and Slovak train data, provided by Inprop (Slovakia)."
arch=(any)
url="http://www.inprop.sk/download.aspx"
@@ -75,16 +75,6 @@ sha256sums=(
"14279a732be7d04304ff3860d54e0cf8c1a8ba0a46343eaf9b7ce3a105815946"
)
-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}/${_target0}" +"%Y_%m_%d"
-
- _ver="$(wget -nv -O- "${url}" | grep --text -E "Data/Vlak${_year}E_Sk\.exe" | sed -r 's|[^0-9]([0-9]{1,2}\.[0-9]{1,2}\.[0-9]{4})[^0-9]|\n\1\n|' | grep --text -E '^[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{4}$' | awk -F. '{print $3"_"$2"_"$1}')"
-
- echo "${_ver}"
-}
-
-
package() {
_instdirbase='/opt/idos-timetable'
_instdir="${pkgdir}/${_instdirbase}"