ptrcports/linux-smol/APKBUILD

33 lines
928 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
pkgver=5.15.30
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
make vmlinux
}
package() {
install -Dm755 vmlinux "$pkgdir"/usr/share/linux-smol/vmlinux
}
sha512sums="
5a49b202fee86383eb3800398295af0f49b9d4963c28df63ed3cc4dc87ae9dd0ef900f95733faf5fe2d632746a2c3533b924eecbdcb4df22aad3cb68a837e299 linux-5.15.30.tar.xz
44a2b32ff632b554cd30374a62056c223a630ae381372d5f8dd92b836aefc926f575d64fbf4b87d74192e48d9114fb4dd0a8ea36ff764d9d1d4d618b42a96c1e config
"