pmaports/device/testing/linux-postmarketos-qcom-sc8180x/APKBUILD
Achill Gilgenast 65fa27d1fd
*/*: remove maintainership by inactive maintainers
* Set Co-Mainatiner as maintainer, if they exist
* Add me as co-maintainer of QEMU packages to fulfill main requirements
* Add people interested in maintainance to their packages
* device-google-snow now has no maintainer, if someone is interested,
  please add yourself as maintainer, otherwise it has to be dropped

As we all know they are inactive nowadays, the maintainer variables
should reflect the reality who cares/is responsible about a package, and
inactive members are not. And waiting for a inactive maintainer 2 weeks
is just staling the MR.

Thanks for all the work Minecrell & Jenneron, and feel free to add
yourself again if you're back again.

[skip ci]: too many false positives :p

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7748>
2026-01-15 11:05:38 +00:00

55 lines
1.7 KiB
Text

maintainer=""
pkgname=linux-postmarketos-qcom-sc8180x
pkgver=6.6.0
pkgrel=4
pkgdesc="Mainline Kernel fork for Snadpragon 8cx 1st generation devices"
arch="aarch64"
_carch="arm64"
_flavor="${pkgname#linux-}"
url="https://gitlab.com/sc8180x-mainline/linux"
license="GPL-2.0-only"
options="!strip !check !tracedeps
pmb:cross-native
pmb:kconfigcheck-uefi"
makedepends="bash bison findutils flex installkernel openssl-dev perl"
_commit="27c30b32783351f6ca31c619cbf42697e7208f3d"
_config="config-$_flavor.$arch"
# Source
source="
linux-$_commit.tar.gz::https://gitlab.com/sc8180x-mainline/linux/-/archive/$_commit/linux-$commit.tar.gz
$_config
"
builddir="$srcdir/linux-$_commit"
prepare() {
default_prepare
cp "$srcdir/config-$_flavor.$arch" .config
}
build() {
unset LDFLAGS
make ARCH="$_carch" CC="${CC:-gcc}" \
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-$_flavor"
}
package() {
install -Dm644 "$builddir/arch/$_carch/boot/vmlinuz.efi" \
"$pkgdir/boot/vmlinuz"
make modules_install dtbs_install \
ARCH="$_carch" \
INSTALL_PATH="$pkgdir"/boot/ \
INSTALL_MOD_PATH="$pkgdir" \
INSTALL_MOD_STRIP=1 \
INSTALL_DTBS_PATH="$pkgdir"/boot/dtbs
rm -f "$pkgdir"/lib/modules/*/build "$pkgdir"/lib/modules/*/source
install -D "$builddir"/include/config/kernel.release \
"$pkgdir"/usr/share/kernel/$_flavor/kernel.release
}
sha512sums="
71a29d0e2dfc33ee264cba21b0af1bcf45b2b75a7152a7dd961d325af4e8abf076cb801d181527d65dceef173cadb2b6db3b0b8bdd1cd4afeb38ffce9a452c09 linux-27c30b32783351f6ca31c619cbf42697e7208f3d.tar.gz
0d19720d457148549c8f980bd0b5d687351434cbbeb299a7de9610876df9a33f95fbff10e62d34c8fa16b18d2faa30a8127be21bc1e77b6c9e6835888acee656 config-postmarketos-qcom-sc8180x.aarch64
"