linux-postmarketos-omap: Remove _pkgver variable (MR 4253)

[ci:skip-build]: Already built successfully in CI
This commit is contained in:
Mighty 2023-07-18 11:44:42 +05:30 committed by Stefan Hansson
parent 50e1216a1f
commit 62b4175130
No known key found for this signature in database
GPG key ID: 990600ED1DB95E02

View file

@ -4,8 +4,6 @@
pkgname=linux-postmarketos-omap
pkgver=6.4.3
# _pkgver used to handle rc-* versions since pkgver doesnt take alphabets
_pkgver=6.4.3
pkgrel=0
pkgdesc="Mainline kernel fork for OMAP devices"
arch="armv7"
@ -18,14 +16,12 @@ _carch="arm"
_flavor="postmarketos-omap"
_config="config-$_flavor.armv7"
_kernver=$pkgver
case $pkgver in
*.*rc*) _kernver=$_pkgver
_rc=1;;
*.*rc*) _rc=1;;
*.*.0) _kernver=${pkgver%.0};;
*.*.*) _kernver=$pkgver;;
*.*) _kernver=$pkgver;;
esac
if [ $_rc ]
then
_kernsrc="https://git.kernel.org/torvalds/t/linux-$_kernver.tar.gz"
@ -45,7 +41,7 @@ source="
0008-hsi-ssi_port-force-pio-path.patch
0009-n900-dts-volume-keys.patch
"
builddir="$srcdir/linux-$_pkgver"
builddir="$srcdir/linux-$pkgver"
replaces="linux-samsung-espresso3g linux-nokia-n900"
prepare() {