summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korotkiy2019-06-24 11:55:11 +0300
committerNikolay Korotkiy2019-06-24 11:55:11 +0300
commitef45ae5d555bd59029d5e12d799b9d2b95408da1 (patch)
tree9f1076171a54ad8fea9241a4b3fac5916938f4bf
parented028975cc55083679fa1d591008d029226221a4 (diff)
downloadaur-ef45ae5d555bd59029d5e12d799b9d2b95408da1.tar.gz
move pkgver substitution to build stage
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD8
2 files changed, 8 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ec376743f35b..45b0357c8af7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by makepkg 5.1.3
-# Tue Jun 18 23:43:29 UTC 2019
+# Mon Jun 24 08:54:22 UTC 2019
pkgbase = gpxsee-git
pkgdesc = GPS log file viewer and analyzer
- pkgver = 7.9.r0.g811f5f8
- pkgrel = 2
+ pkgver = 7.9.r3.g255f4ca
+ pkgrel = 1
url = https://www.gpxsee.org/
arch = i686
arch = x86_64
@@ -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.9.r0.g811f5f8
+ provides = gpxsee=7.9.r3.g255f4ca
conflicts = gpxsee
source = https://github.com/tumic0/GPXSee/archive/master.tar.gz
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 375b964ea2df..4d05e948425e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,8 +10,8 @@ _wl_project=${_pkgname}
_wl_hz="https://hosted.weblate.org/healthz/"
_wl_dl="https://hosted.weblate.org/download/${_wl_project}"
pkgname=${_pkgname,,}-git
-pkgver=7.9.r0.g811f5f8
-pkgrel=2
+pkgver=7.9.r3.g255f4ca
+pkgrel=1
pkgdesc='GPS log file viewer and analyzer'
arch=('i686' 'x86_64')
url='https://www.gpxsee.org/'
@@ -59,8 +59,6 @@ wl_update() {
prepare() {
cd ${_pkgname}-${_branch}
- sed -i "s/\(VERSION = \).*/\1${pkgver}/" gpxsee.pro
-
if [ "`curl ${_wl_hz}`" = "ok" ]; then
cd lang
rename nb nb_NO *_nb.ts
@@ -72,6 +70,8 @@ prepare() {
build() {
cd ${_pkgname}-${_branch}
+ sed -i "s/\(VERSION = \).*/\1${pkgver}/" gpxsee.pro
+
lrelease gpxsee.pro
qmake PREFIX=/usr gpxsee.pro
make