Rename _srcver to _srctag and move the 'v' into it

This commit is contained in:
Jan Alexander Steffens 2019-11-06 12:30:46 +00:00
parent 0a1031132c
commit 51fb75705c

View File

@ -3,8 +3,8 @@
pkgbase=linux pkgbase=linux
pkgver=5.3.8.1 pkgver=5.3.8.1
pkgrel=1 pkgrel=1
_srcver=${pkgver%.*}-arch${pkgver##*.} _srctag=v${pkgver%.*}-arch${pkgver##*.}
url="https://git.archlinux.org/linux.git/log/?h=v$_srcver" url="https://git.archlinux.org/linux.git/log/?h=$_srctag"
arch=(x86_64) arch=(x86_64)
license=(GPL2) license=(GPL2)
makedepends=( makedepends=(
@ -15,7 +15,7 @@ makedepends=(
options=('!strip') options=('!strip')
_srcname=archlinux-linux _srcname=archlinux-linux
source=( source=(
"$_srcname::git+https://git.archlinux.org/linux.git?signed#tag=v$_srcver" "$_srcname::git+https://git.archlinux.org/linux.git?signed#tag=$_srctag"
config # the main kernel config file config # the main kernel config file
) )
validpgpkeys=( validpgpkeys=(