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:
parent
1bbed4bf52
commit
4b95b1e128
1 changed files with 6 additions and 12 deletions
|
|
@ -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: Achill Gilgenast <achill@achill.org>
|
||||
maintainer="Aelin <aelin@postmarketos.org>"
|
||||
pkgname=postmarketos-installkernel
|
||||
pkgver=0.1
|
||||
pkgrel=5
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
pkgdesc="postmarketOS script for installing mainline kernels"
|
||||
url="https://gitlab.postmarketos.org/postmarketOS/pmaports/-/tree/main/main/postmarketos-installkernel"
|
||||
arch="noarch"
|
||||
license="GPL-2.0-only"
|
||||
options="!check" # no test suite
|
||||
provides="installkernel=3.5-r1"
|
||||
provider_priority=100
|
||||
replaces="installkernel"
|
||||
source="installkernel-pmos"
|
||||
options="!check" # no test suite
|
||||
|
||||
build() {
|
||||
return 0
|
||||
}
|
||||
provides="installkernel=9999$pkgver-r$pkgver"
|
||||
|
||||
package() {
|
||||
install -Dm755 "$srcdir"/installkernel-pmos "$pkgdir"/sbin/installkernel
|
||||
install -Dm755 "$srcdir"/installkernel-pmos \
|
||||
"$pkgdir"/usr/bin/installkernel
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue