summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korotkiy2019-06-14 14:28:35 +0300
committerNikolay Korotkiy2019-06-14 14:28:35 +0300
commitabf7555f3d71c73f1376f2ffa1920b00a5e7df9b (patch)
tree38bb69f23703b51fde41163980d0b45b1e14d86e
parent76e2f8566e25569b769a86c45cfa88cb93010b51 (diff)
downloadaur-abf7555f3d71c73f1376f2ffa1920b00a5e7df9b.tar.gz
Add WL healthcheck
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
2 files changed, 11 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index baa0e943ff80..c9e26f092168 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by makepkg 5.1.3
-# Thu Jun 6 06:12:07 UTC 2019
+# Fri Jun 14 11:26:18 UTC 2019
pkgbase = gpxsee-git
pkgdesc = GPS log file viewer and analyzer
- pkgver = 7.8.r1663.b7f2eeab
+ pkgver = 7.8.r1675.d574710b
pkgrel = 1
url = https://www.gpxsee.org/
arch = i686
@@ -13,7 +13,7 @@ pkgbase = gpxsee-git
depends = qt5-base
optdepends = qt5-imageformats: Support for GeoTIFF images
optdepends = qt5-pbfimageplugin: Support for PBF vector maps
- provides = gpxsee=7.8.r1663.b7f2eeab
+ provides = gpxsee=7.8.r1675.d574710b
conflicts = gpxsee
source = https://github.com/tumic0/GPXSee/archive/master.tar.gz
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index c35adb89ec52..fc980f17cc68 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,9 +6,10 @@ _pkgname=GPXSee
_branch=master
_use_gh_api=true
wl_project=${_pkgname}
+wl_hz="https://hosted.weblate.org/healthz/"
wl_dl="https://hosted.weblate.org/download/${wl_project}"
pkgname=${_pkgname,,}-git
-pkgver=7.8.r1663.b7f2eeab
+pkgver=7.8.r1675.d574710b
pkgrel=1
pkgdesc='GPS log file viewer and analyzer'
arch=('i686' 'x86_64')
@@ -65,10 +66,12 @@ prepare() {
sed -i "s/\(VERSION = \).*/\1${pkgver}/" gpxsee.pro
- cd lang
- rename nb nb_NO *_nb.ts
- wl_update Translations ${_pkgname,,}_
- rename nb_NO nb *_nb_NO.ts
+ if [ "`curl $wl_hz`" = "ok" ]; then
+ cd lang
+ rename nb nb_NO *_nb.ts
+ wl_update Translations ${_pkgname,,}_
+ rename nb_NO nb *_nb_NO.ts
+ fi
}
build() {