template 1019 B

1234567891011121314151617181920212223242526272829
  1. # Template file for 'linux-libre-deb'
  2. pkgname=linux-libre-deb
  3. version=5.7.10
  4. revision=1
  5. _subversion=1.0
  6. archs="x86_64"
  7. hostmakedepends="tar binutils xz"
  8. short_desc="Liberated Linux-libre kernel without non-free binary blobs"
  9. maintainer="reback00 <reback00@protonmail.com>"
  10. license="GPL-2.0-only"
  11. homepage="https://www.fsfla.org/ikiwiki/selibre/linux-libre/"
  12. # Got from: https://linux-libre.fsfla.org/pub/linux-libre/freesh/pool/main/l/linux-libre/
  13. distfiles="https://linux-libre.fsfla.org/pub/linux-libre/freesh/pool/main/l/linux-${version}-gnu/linux-image-${version}-gnu_${version}-gnu-${_subversion}_amd64.deb"
  14. checksum=90c24f629c9b360409fea161332df222265c3af3e9144159440554966d3dcba0
  15. _kernver="${version}-gnu"
  16. triggers="kernel-hooks"
  17. kernel_hooks_version="${_kernver}"
  18. do_extract() {
  19. mkdir -p ${DESTDIR}
  20. ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/linux-image-${version}-gnu_${version}-gnu-${_subversion}_amd64.deb
  21. }
  22. do_install() {
  23. tar xf data.tar.xz -C ${DESTDIR}
  24. mv -v ${DESTDIR}/lib ${DESTDIR}/usr/lib
  25. }