diff options
author | Artyom Aleksyuk | 2017-06-24 20:28:58 +0300 |
---|---|---|
committer | Artyom Aleksyuk | 2017-06-24 20:28:58 +0300 |
commit | c2d89fdfa73490cab6fcbc694ff1dc95035b5079 (patch) | |
tree | f2b9fdc809a6a1996928f51c0955452b36ab7233 | |
parent | c297f84d623d2f1049428250b708819bf92f0b49 (diff) | |
download | aur-c2d89fdfa73490cab6fcbc694ff1dc95035b5079.tar.gz |
Use file modification date instead of HTTP responce headers
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 3 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = noxbit pkgdesc = Live Video Streaming technology based on BitTorrent protocol pkgver = 20170614 - pkgrel = 1 + pkgrel = 2 url = https://noxbit.com/ install = noxbit.install arch = i686 @@ -2,7 +2,7 @@ pkgname=noxbit pkgver=20170614 -pkgrel=1 +pkgrel=2 pkgdesc='Live Video Streaming technology based on BitTorrent protocol' arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') url='https://noxbit.com/' @@ -29,9 +29,7 @@ sha256sums_armv7h=('SKIP') sha256sums_aarch64=('SKIP') pkgver() { - local _source_name=source_$CARCH - local _date_text=$(curl --silent --head ${!_source_name} | tr -d '\r' | sed -En 's/^Last-Modified: (.*)/\1/p') - date -d"$_date_text" +%Y%m%d + date -r "$srcdir"/STM-Hypervisor +%Y%m%d } package() { |