ha?
This commit is contained in:
parent
16565a5c00
commit
7cc8f6cdc9
2
.SRCINFO
2
.SRCINFO
@ -1,6 +1,6 @@
|
|||||||
pkgbase = linux-ayn-odin2-stable
|
pkgbase = linux-ayn-odin2-stable
|
||||||
pkgver = 6.9.3
|
pkgver = 6.9.3
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://github.com/edk2-porting/linux-next/
|
url = https://github.com/edk2-porting/linux-next/
|
||||||
arch = aarch64
|
arch = aarch64
|
||||||
license = GPL2
|
license = GPL2
|
||||||
|
5
PKGBUILD
5
PKGBUILD
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
pkgbase=linux-ayn-odin2-stable
|
pkgbase=linux-ayn-odin2-stable
|
||||||
pkgver=6.9.3
|
pkgver=6.9.3
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
arch=(aarch64)
|
arch=(aarch64)
|
||||||
url="https://github.com/edk2-porting/linux-next/"
|
url="https://github.com/edk2-porting/linux-next/"
|
||||||
license=(GPL2)
|
license=(GPL2)
|
||||||
@ -50,10 +50,11 @@ pkgver() {
|
|||||||
local VERSION="$(awk '$1=="VERSION"{print $3}' Makefile)"
|
local VERSION="$(awk '$1=="VERSION"{print $3}' Makefile)"
|
||||||
local PATCHLEVEL="$(awk '$1=="PATCHLEVEL"{print $3}' Makefile)"
|
local PATCHLEVEL="$(awk '$1=="PATCHLEVEL"{print $3}' Makefile)"
|
||||||
local SUBLEVEL="$(awk '$1=="SUBLEVEL"{print $3}' Makefile)"
|
local SUBLEVEL="$(awk '$1=="SUBLEVEL"{print $3}' Makefile)"
|
||||||
|
local COMMITNO=".r$(git rev-list --count HEAD)"
|
||||||
local EXTRAVERSION="$(awk '$1=="EXTRAVERSION"{print $3}' Makefile)"
|
local EXTRAVERSION="$(awk '$1=="EXTRAVERSION"{print $3}' Makefile)"
|
||||||
local COMMIT="$(git rev-parse --short=12 HEAD)"
|
local COMMIT="$(git rev-parse --short=12 HEAD)"
|
||||||
EXTRAVERSION="${EXTRAVERSION//-/.}"
|
EXTRAVERSION="${EXTRAVERSION//-/.}"
|
||||||
echo "${VERSION}.${PATCHLEVEL}.${SUBLEVEL}${EXTRAVERSION}.${COMMIT}"
|
echo "${VERSION}.${PATCHLEVEL}.${SUBLEVEL}${COMMITNO}${EXTRAVERSION}.${COMMIT}"
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
Loading…
Reference in New Issue
Block a user