main/linux-lts: simplify _kernver definition

There was no version that didn't follow the `*.*.*` format in years. I think
`*.*.0` is used instead of `*.*`.
This commit is contained in:
Sertonix 2024-06-27 00:23:46 +02:00 committed by Natanael Copa
parent a412472859
commit edede1b81c

View File

@ -3,10 +3,7 @@
_flavor=lts
pkgname=linux-$_flavor
pkgver=6.6.35
case $pkgver in
*.*.*) _kernver=${pkgver%.*};;
*.*) _kernver=$pkgver;;
esac
_kernver=${pkgver%.*}
pkgrel=0
pkgdesc="Linux lts kernel"
url="https://www.kernel.org"