summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtyom Aleksyuk2017-06-24 20:28:58 +0300
committerArtyom Aleksyuk2017-06-24 20:28:58 +0300
commitc2d89fdfa73490cab6fcbc694ff1dc95035b5079 (patch)
treef2b9fdc809a6a1996928f51c0955452b36ab7233
parentc297f84d623d2f1049428250b708819bf92f0b49 (diff)
downloadaur-c2d89fdfa73490cab6fcbc694ff1dc95035b5079.tar.gz
Use file modification date instead of HTTP responce headers
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 3 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 73080a5408fc..f601b35a47fd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index faf7c61aeff8..262d66088137 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {