summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorwangyifan2023-12-28 10:33:27 +0800
committerwangyifan2023-12-28 10:33:27 +0800
commit32226e9e1a3799ebfdcdcb1ab35c4f0210c695b1 (patch)
treeecc05061a1465559dcb7810a0979dcf9368259bb /PKGBUILD
parent63e7d366567c614c9b2c1205669a1843aca670be (diff)
downloadaur-32226e9e1a3799ebfdcdcb1ab35c4f0210c695b1.tar.gz
update pkgver.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 0 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f47e5c4e6767..e64e47b5e455 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,15 +24,6 @@ sha512sums=('SKIP'
'03cdaa19ff754c1b16cbfe8b08d38fed2f21c688a6e00d331ca53c4ef937c1cd3fdcfca2241d136238f220a87f3da04c1e6e192d262b4505f8bff3ddcbc8b9ad'
'6529c8735a6279caba7724f5369b86e7e1e411d782c786009ba808c052e49d391af2d909d175c10ee027f6a08c23d9273343f31799cd93b6d5ddd6ef3bfd3fb4')
-pkgver(){
- #gets the commit count of both repos + _pkgrel and sums them to calculate the revision number
- cd linux
- rm localversion.*
- echo "-$_kernel_tag" > localversion.20-pkgname
- _version=$(make kernelrelease)
- printf "${_version//-/\.}"
-}
-
prepare() {
cd linux