diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2023-01-31 11:31:19 +0100 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2023-01-31 11:31:19 +0100 |
commit | e6b516000417d92849f653de6b28b42b4689399e (patch) | |
tree | 7314acf3314ec779ae924ccb1ad1135262b2e436 /PKGBUILD | |
parent | 647c5546e986d3b6c2050beb3576b082f440da8b (diff) | |
download | linux-kentdobias-e6b516000417d92849f653de6b28b42b4689399e.tar.gz linux-kentdobias-e6b516000417d92849f653de6b28b42b4689399e.tar.bz2 linux-kentdobias-e6b516000417d92849f653de6b28b42b4689399e.zip |
New config.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 4 insertions, 23 deletions
@@ -4,7 +4,7 @@ pkgbase=linux-kentdobias _kver=6.1.8.arch1 _zver=2.1.9 pkgver="${_kver}_${_zver}" -pkgrel=2 +pkgrel=4 pkgdesc='Linux' _srctag=v${_kver%.*}-${_kver##*.} url="https://github.com/archlinux/linux/commits/$_srctag" @@ -31,7 +31,7 @@ validpgpkeys=( ) sha256sums=('SKIP' '6b172cdf2eb54e17fcd68f900fab33c1430c5c59848fa46fab83614922fe50f6' - '56791053f26ad2f68729c5ff24d84bf3e84373e2219e460671683b1dfafb5921') + '93246c82a9c62d8c1097e009523feb362680c6d4b59b2e6da7713a81ebad81d7') export KBUILD_BUILD_HOST=archlinux export KBUILD_BUILD_USER=$pkgbase @@ -77,7 +77,7 @@ prepare() { build() { cd $_srcname - $_make htmldocs all + $_make all } _package() { @@ -190,26 +190,7 @@ _package-headers() { ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase" } -_package-docs() { - pkgdesc="Documentation for the $pkgdesc kernel" - - cd $_srcname - local builddir="$pkgdir/usr/lib/modules/$(<version)/build" - - echo "Installing documentation..." - local src dst - while read -rd '' src; do - dst="${src#Documentation/}" - dst="$builddir/Documentation/${dst#output/}" - install -Dm644 "$src" "$dst" - done < <(find Documentation -name '.*' -prune -o ! -type d -print0) - - echo "Adding symlink..." - mkdir -p "$pkgdir/usr/share/doc" - ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase" -} - -pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs") +pkgname=("$pkgbase" "$pkgbase-headers") for _p in "${pkgname[@]}"; do eval "package_$_p() { $(declare -f "_package${_p#$pkgbase}") |