2022-03-22 22:54:33 +00:00
|
|
|
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
|
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
|
|
pkgname=linux-smol
|
2023-01-28 21:12:21 +00:00
|
|
|
pkgver=5.15.90
|
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="
|
2023-01-28 21:12:21 +00:00
|
|
|
ef0e9e249ace8b9c006377a5169558f68dec4cdf455394809b1c9095081e3b00da53ee9cff13810a93533531736bcbdf335f0118021b6a8e92eae521de5097b7 linux-5.15.90.tar.xz
|
2023-01-28 21:19:38 +00:00
|
|
|
1231f8f63adae1ded25db5e45851d8b2ea4471b5a7c098b4e7dd17841faf3545562c0edd467e60e2c5c0795c91ac107f34d9f51a2504e1fe16689cc4cda110f0 config
|
2022-03-22 22:54:33 +00:00
|
|
|
"
|