pkgname="linux"
pkgver="6.16.1"
pkgdesc="Linux kernel"
homepage="https://www.kernel.org/"
license=(GPL-2.0-only)
_srcname=linux-${pkgver%.*}
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://www.kernel.org/pub/linux/kernel/v6.x/${sources[0]}")
md5sums=("32d45755e4b39d06e9be58f6817445ee")

src_prepare() {
  tar -xf ${distdir}/${sources[0]}
}

src_build() {
  :
}

src_check() {
  :
}

src_install() {
  install -d -v -m755 ${pkgdir}/usr/src/
  mv -v ${pkgname}-${pkgver} ${pkgdir}/usr/src/
  install -v -m755 -d ${pkgdir}/etc/modprobe.d
}
