This repository has been archived on 2023-01-08. You can view files and clone it, but cannot push or open issues or pull requests.
ptrcports/linux-smol/APKBUILD

35 lines
1,011 B
Text
Raw Normal View History

2022-03-22 22:54:33 +00:00
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=linux-smol
2022-06-04 15:04:09 +00:00
pkgver=5.15.44
2022-03-22 22:54:33 +00:00
pkgrel=0
pkgdesc="linux kernel but smol"
url="https://www.kernel.org"
arch="x86_64"
license="GPL-2.0"
makedepends="
perl gmp-dev mpc1-dev mpfr-dev elfutils-dev bash
flex bison zstd mawk linux-headers diffutils
"
source="https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-$pkgver.tar.xz
config
"
builddir="$srcdir/linux-$pkgver"
options="!check !strip"
build() {
mv "$srcdir"/config .config
2022-05-04 14:35:59 +00:00
make
2022-03-22 22:54:33 +00:00
make vmlinux
}
package() {
2022-05-04 14:35:59 +00:00
install -Dm755 arch/x86/boot/bzImage "$pkgdir"/usr/share/linux-smol/vmlinuz
2022-03-22 22:54:33 +00:00
install -Dm755 vmlinux "$pkgdir"/usr/share/linux-smol/vmlinux
}
sha512sums="
2022-06-04 15:04:09 +00:00
79a477dac536355b2a6c6de14ede675311d6ec179917c3f2acdadea16c81e706b1f9686fa3868a4a36a57441c2d25113632534ad8359a3544207e7068d0e177b linux-5.15.44.tar.xz
2022-05-04 14:35:59 +00:00
6c594e97e127ac00e385fb6bf139f7bbeccd57f17ab6e30aeb927d46aa4e6b3ca2284234226f540ae52fa8d8936d8f675ad667d4296ccf38f72a6ecf9966f436 config
2022-03-22 22:54:33 +00:00
"