summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlango Rajagopal2020-10-14 12:22:53 +0530
committerIlango Rajagopal2020-10-14 12:22:53 +0530
commite392657674011220296f7adabf03ae401070e07d (patch)
treec30a548d26f681650bfaa8f7956313bf46e65e30
parent9f82b81b2733bf440b792ea4fe6fb32c6f38b3c7 (diff)
downloadaur-e392657674011220296f7adabf03ae401070e07d.tar.gz
update package to 2020.09.29.c334423510-00
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD11
-rw-r--r--endpoint-verification.service3
-rwxr-xr-xupdater.sh30
4 files changed, 10 insertions, 42 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 908281143b9..972c777182c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = endpoint-verification
pkgdesc = Endpoint Verification Helper for Chromium
- pkgver = 2019.10.07.c273328186_00
- pkgrel = 2
+ pkgver = 2020.09.29.c334423510_00
+ pkgrel = 1
url = https://chrome.google.com/webstore/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg
arch = x86_64
license = unknown
depends = chromium
- source = endpoint-verification.deb::https://packages.cloud.google.com/apt/pool/endpoint-verification_2019.10.07.c273328186-00_amd64_466d329b82384574a5b062adcd6312623918ac27c5ea3999985856366735bdca.deb
+ source = endpoint-verification.deb::https://packages.cloud.google.com/apt/pool/endpoint-verification_2020.09.29.c334423510-00_amd64_74682ecaa214a1cc192cd9be4be64f5b3762caf53e7a3376e103d11c7c37424a.deb
source = endpoint-verification.service
- sha256sums = 466d329b82384574a5b062adcd6312623918ac27c5ea3999985856366735bdca
+ sha256sums = 74682ecaa214a1cc192cd9be4be64f5b3762caf53e7a3376e103d11c7c37424a
sha256sums = SKIP
pkgname = endpoint-verification
diff --git a/PKGBUILD b/PKGBUILD
index 6769c0f07e1..936f61d728b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,22 +2,22 @@
pkgbase=endpoint-verification
pkgname=(endpoint-verification endpoint-verification-chrome)
-_pkgver=2019.10.07.c273328186-00
-pkgver=2019.10.07.c273328186_00
-pkgrel=2
+_pkgver=2020.09.29.c334423510-00
+pkgver=2020.09.29.c334423510_00
+pkgrel=1
pkgdesc="Endpoint Verification Helper for Chromium"
arch=(x86_64)
url="https://chrome.google.com/webstore/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg"
license=(unknown)
depends=(chromium)
-sha256sums=("466d329b82384574a5b062adcd6312623918ac27c5ea3999985856366735bdca" "SKIP")
+sha256sums=("74682ecaa214a1cc192cd9be4be64f5b3762caf53e7a3376e103d11c7c37424a" "SKIP")
source=("${pkgbase}.deb::https://packages.cloud.google.com/apt/pool/${pkgbase}_${_pkgver}_amd64_${sha256sums[0]}.deb"
"endpoint-verification.service")
prepare() {
mkdir -p data
tar -C data -xf data.tar.gz
- mv data/etc/init.d/endpoint_verification.sh data/opt/google/endpoint_verification
+ mv data/etc/init.d/endpoint-verification data/opt/google/endpoint-verification
rmdir data/etc/init.d
}
@@ -42,4 +42,3 @@ package_endpoint-verification-chrome() {
cp -a "$srcdir/data/etc" "$pkgdir"
install -D -m0644 -t "$pkgdir/usr/lib/systemd/system" "$srcdir/endpoint-verification.service"
}
-
diff --git a/endpoint-verification.service b/endpoint-verification.service
index 9d9eff58d0f..51c2384b336 100644
--- a/endpoint-verification.service
+++ b/endpoint-verification.service
@@ -3,8 +3,7 @@ Description=Endpoint Verification Service
[Service]
Type=oneshot
-ExecStart=/opt/google/endpoint_verification/endpoint_verification.sh
+ExecStart=/opt/google/endpoint_verification/endpoint-verification.sh
[Install]
WantedBy=graphical.target
-
diff --git a/updater.sh b/updater.sh
deleted file mode 100755
index d79b4d7e0f6..00000000000
--- a/updater.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-
-set -e
-
-echo "Getting latest version information"
-resp=$(curl -s https://packages.cloud.google.com/apt/dists/endpoint-verification/main/binary-amd64/Packages)
-
-filename=$(grep Filename <<< $resp | cut -d' ' -f2)
-version=$(grep Version <<< $resp | cut -d' ' -f2)
-sha256sum=$(grep SHA256 <<< $resp | cut -d' ' -f2)
-
-pkgversion=$(grep '_pkgver=' PKGBUILD | cut -d= -f2)
-
-if [ $version = $pkgversion ]; then
- echo "Current version $version up to date"
- exit
-else
- echo "Update found: $version"
-fi
-
-echo "Patching PKGBUILD"
-sed -i.bak \
- -e "s/^sha256sums=.*$/sha256sums=(\"$sha256sum\")/" \
- -e "s/^_pkgver=.*$/_pkgver=$version/" \
- -e "s/^pkgver=.*$/pkgver=${version//-/_}/" \
- -e "s/^pkgrel=.*$/pkgrel=1/" \
- PKGBUILD
-
-echo "Install now with makepkg -si"
-