diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2023-02-14 21:09:28 +0100 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2023-02-14 21:09:28 +0100 |
commit | 20aee968d942212c86263f80e7217333235bcd83 (patch) | |
tree | 105a2b13eff2dfecca815c1875b9adc8140f4e04 /PKGBUILD | |
parent | e419d9bee79938b44ba04d70bc6e3332875098ea (diff) | |
download | linux-kentdobias-20aee968d942212c86263f80e7217333235bcd83.tar.gz linux-kentdobias-20aee968d942212c86263f80e7217333235bcd83.tar.bz2 linux-kentdobias-20aee968d942212c86263f80e7217333235bcd83.zip |
Bumped version.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 35 |
1 files changed, 20 insertions, 15 deletions
@@ -1,7 +1,7 @@ # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org> pkgbase=linux-kentdobias -_kver=6.1.10.arch1 +_kver=6.1.12.kd1 _zver=2.1.9 pkgver="${_kver}_${_zver}" pkgrel=2 @@ -12,7 +12,6 @@ arch=(x86_64) license=(GPL2) makedepends=( bc libelf pahole cpio perl tar xz gettext - xmlto python-sphinx python-sphinx_rtd_theme graphviz imagemagick texlive-latexextra git ) options=('!strip') @@ -31,7 +30,7 @@ validpgpkeys=( ) sha256sums=('SKIP' '6b172cdf2eb54e17fcd68f900fab33c1430c5c59848fa46fab83614922fe50f6' - '50b856cca87cb2ca9a2e19d3752df64b9423591264e4f6ad1cca731a526d8c63') + '73a01984e18525288b5ada418878172ae514a1888c0bc3ff2598487e864f3754') export KBUILD_BUILD_HOST=archlinux export KBUILD_BUILD_USER=$pkgbase @@ -40,17 +39,7 @@ export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EP _make='make LLVM=1' prepare() { - cd zfs-${_zver} - ./autogen.sh - KERNEL_LLVM=1 CC=clang ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --with-mounthelperdir=/usr/bin \ - --libdir=/usr/lib --datadir=/usr/share --includedir=/usr/include \ - --with-udevdir=/usr/lib/udev --libexecdir=/usr/lib \ - --enable-systemd --enable-pyzfs \ - --with-zfsexecdir=/usr/lib/zfs --localstatedir=/var \ - --enable-linux-builtin --with-linux=../$_srcname - ./copy-builtin ../$_srcname - - cd ../$_srcname + cd $_srcname echo "Setting version..." scripts/setlocalversion --save-scmversion @@ -68,6 +57,22 @@ prepare() { echo "Setting config..." cp ../config .config + $_make prepare + + cd ../zfs-${_zver} + ./autogen.sh + KERNEL_LLVM=1 CC=clang ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --with-mounthelperdir=/usr/bin \ + --libdir=/usr/lib --datadir=/usr/share --includedir=/usr/include \ + --with-udevdir=/usr/lib/udev --libexecdir=/usr/lib \ + --enable-systemd --enable-pyzfs \ + --with-zfsexecdir=/usr/lib/zfs --localstatedir=/var \ + --enable-linux-builtin --with-linux=../$_srcname + ./copy-builtin ../$_srcname + + cd ../$_srcname + + echo "Setting config..." + cp ../config .config $_make olddefconfig diff -u ../config .config || : @@ -190,7 +195,7 @@ _package-headers() { ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase" } -pkgname=("$pkgbase" "$pkgbase-headers") +pkgname=("$pkgbase") for _p in "${pkgname[@]}"; do eval "package_$_p() { $(declare -f "_package${_p#$pkgbase}") |