diff options
author | David P <megver83@parabola.nu> | 2021-10-18 09:43:46 -0300 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2021-10-18 09:43:46 -0300 |
commit | 9ffd901c919987a590cfea19a5c2bb6be81ddaaa (patch) | |
tree | 69b2745ebbae57ec2f55004f3f9364a0949eadc1 /libre/linux-libre-lts | |
parent | ee2601c074ecde286b965de7b07947b9e02e0fb8 (diff) | |
download | abslibre-9ffd901c919987a590cfea19a5c2bb6be81ddaaa.tar.gz abslibre-9ffd901c919987a590cfea19a5c2bb6be81ddaaa.tar.bz2 abslibre-9ffd901c919987a590cfea19a5c2bb6be81ddaaa.zip |
linux-libre-lts: don't build htmldocs (armv7h)
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'libre/linux-libre-lts')
-rw-r--r-- | libre/linux-libre-lts/PKGBUILD | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libre/linux-libre-lts/PKGBUILD b/libre/linux-libre-lts/PKGBUILD index 55a4c7d6e..653a7ac84 100644 --- a/libre/linux-libre-lts/PKGBUILD +++ b/libre/linux-libre-lts/PKGBUILD @@ -9,6 +9,8 @@ # Based on linux-lts package +# NOTE: Don't build htmldocs due to an error in sphinx (armv7h only) + _replacesarchkernel=('linux%') # '%' gets replaced with kernel suffix _replacesoldkernels=() # '%' gets replaced with kernel suffix _replacesoldmodules=() # '%' gets replaced with kernel suffix @@ -152,7 +154,9 @@ prepare() { build() { cd $_srcname make all - make htmldocs + if ! [ "$CARCH" = armv7h ]; then + make htmldocs + fi } _package() { @@ -316,7 +320,8 @@ _package-docs() { ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase" } -pkgname=("$pkgbase" "$pkgbase-headers" "$pkgbase-docs") +pkgname=("$pkgbase" "$pkgbase-headers") +[[ $CARCH = armv7h ]] || pkgname+=("$pkgbase-docs") for _p in "${pkgname[@]}"; do eval "package_$_p() { $(declare -f "_package${_p#$pkgbase}") |