main/postmarketos-installkernel: modernize
Reorders the keys to match newapkbuild and fixed the provider, since the current logic made it always be considered a lower provider priority than the Alpine installkernel. Also moved the location of the installed binary to not need to replace Alpine's installkernel. Signed-off-by: Aster Boese <asterboese@mailbox.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8982>
This commit is contained in:
@@ -1,27 +1,21 @@
|
|||||||
# APKBUILD is inspired by Alpine's:
|
|
||||||
# https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/main/installkernel
|
|
||||||
# Co-Maintainer: Alexey Minnekhanov <alexeymin@postmarketos.org>
|
# Co-Maintainer: Alexey Minnekhanov <alexeymin@postmarketos.org>
|
||||||
# Co-Maintainer: Achill Gilgenast <achill@achill.org>
|
# Co-Maintainer: Achill Gilgenast <achill@achill.org>
|
||||||
maintainer="Aelin <aelin@postmarketos.org>"
|
maintainer="Aelin <aelin@postmarketos.org>"
|
||||||
pkgname=postmarketos-installkernel
|
pkgname=postmarketos-installkernel
|
||||||
pkgver=0.1
|
pkgver=1
|
||||||
pkgrel=5
|
pkgrel=0
|
||||||
pkgdesc="postmarketOS script for installing mainline kernels"
|
pkgdesc="postmarketOS script for installing mainline kernels"
|
||||||
url="https://gitlab.postmarketos.org/postmarketOS/pmaports/-/tree/main/main/postmarketos-installkernel"
|
url="https://gitlab.postmarketos.org/postmarketOS/pmaports/-/tree/main/main/postmarketos-installkernel"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
options="!check" # no test suite
|
|
||||||
provides="installkernel=3.5-r1"
|
|
||||||
provider_priority=100
|
|
||||||
replaces="installkernel"
|
|
||||||
source="installkernel-pmos"
|
source="installkernel-pmos"
|
||||||
|
options="!check" # no test suite
|
||||||
|
|
||||||
build() {
|
provides="installkernel=9999$pkgver-r$pkgver"
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
install -Dm755 "$srcdir"/installkernel-pmos "$pkgdir"/sbin/installkernel
|
install -Dm755 "$srcdir"/installkernel-pmos \
|
||||||
|
"$pkgdir"/usr/bin/installkernel
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
|
|||||||
Reference in New Issue
Block a user