summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJames P. Harvey2019-04-29 19:01:19 -0400
committerJames P. Harvey2019-04-29 19:01:19 -0400
commit531bebd46f4479ce4bd18b977d3dcd9829fd5ef2 (patch)
tree64d270a48ce36e1c695b5d562c9990e379690cc9 /PKGBUILD
parentbdcab76a4fff0ec00cf463482f0c3af8cea344a2 (diff)
downloadaur-gcc-git.tar.gz
Upstream bumped BASE-VER to 10.0.0, so must parse '_majorver' differently than just first character.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 17cbe730106..309046ba42f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,8 +11,8 @@
# NOTE: libtool requires rebuilt with each new gcc version
pkgname=(gcc-git gcc-libs-git gcc-fortran-git gcc-objc-git gcc-ada-git gcc-go-git lib32-gcc-libs-gitb)
-pkgver=9.0.1.r168055.8699435d8b8
-_majorver=${pkgver:0:1}
+pkgver=10.0.0.r168510.4fd009e9ec30
+_majorver=${pkgver%%.*}
#this is set after pkgver() runs! (Thanks makepkg!)
_basever=${pkgver%%.r*}
_islver=0.21