summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 4 insertions, 23 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e0b9295..b001c12 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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}")