diff options
author | Nikolay Korotkiy | 2019-06-14 14:28:35 +0300 |
---|---|---|
committer | Nikolay Korotkiy | 2019-06-14 14:28:35 +0300 |
commit | abf7555f3d71c73f1376f2ffa1920b00a5e7df9b (patch) | |
tree | 38bb69f23703b51fde41163980d0b45b1e14d86e | |
parent | 76e2f8566e25569b769a86c45cfa88cb93010b51 (diff) | |
download | aur-abf7555f3d71c73f1376f2ffa1920b00a5e7df9b.tar.gz |
Add WL healthcheck
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 11 insertions, 8 deletions
@@ -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 @@ -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() { |