summaryrefslogtreecommitdiff
path: root/libre/linux-libre-pck/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/linux-libre-pck/PKGBUILD')
-rw-r--r--libre/linux-libre-pck/PKGBUILD40
1 files changed, 28 insertions, 12 deletions
diff --git a/libre/linux-libre-pck/PKGBUILD b/libre/linux-libre-pck/PKGBUILD
index 9692e901a..af6ce96d3 100644
--- a/libre/linux-libre-pck/PKGBUILD
+++ b/libre/linux-libre-pck/PKGBUILD
@@ -10,8 +10,8 @@
# Based on linux-zen package
pkgbase=linux-libre-pck
-_srcbasever=5.1-gnu
-_srcver=5.1.6-gnu
+_srcbasever=5.2-gnu
+_srcver=5.2.2-gnu
_pckver=pck1
_replacesarchkernel=('linux-zen')
@@ -25,7 +25,11 @@ pkgrel=1
arch=(i686 x86_64 armv7h)
url='https://wiki.parabola.nu/PCK'
license=(GPL2)
-makedepends=(xmlto kmod inetutils bc libelf)
+makedepends=(
+ xmlto kmod inetutils bc libelf git python-sphinx python-sphinx_rtd_theme
+ graphviz imagemagick
+)
+
options=('!strip')
source=(
"https://linux-libre.fsfla.org/pub/linux-libre/releases/$_srcbasever/linux-libre-$_srcbasever.tar.xz"{,.sign}
@@ -40,15 +44,15 @@ validpgpkeys=(
'474402C8C582DAFBE389C427BCB7CF877E7D47A7' # Alexandre Oliva
'6DB9C4B4F0D8C0DC432CF6E4227CA7C556B2BA78' # David P.
)
-sha512sums=('42510bffa69746e0f919fecef5a23da4adb2473239ee67730fa1eb2340256fb4618c6acab439c01ae781df768a2e1ac4b76ad80fe0e4a432eaceb7f01f275439'
+sha512sums=('3359b0a10ac04243399a1b0aa84f6c09e3c1914880be19a7e931189da92900ca77e467e7ab5c296a03d2ff0ab3238ec75b13fd41bd2796049b63e71f6896900e'
'SKIP'
- '7c860911baae3c94743981980f93928bde01679f5f8bc3c91f19eb23d1fb1cc590cc4dbb421c1ae9165dab9d1c697e19926fc265a4a2fcfdaaa262cb2b025455'
+ '53bc4aa6a36d93ad9275c312e31bf90a19a274877632ba806e3e8c16c166a209968610b8db41c9d619eb57034445ceeb1753554fb459063c2a0600a208f9cdc8'
'SKIP'
- 'c9f80da13d1e1db134da0fcef47b341574e1fbcca6f126aa1523654062989022eb9a7d4c063a6955868708aad1fca205edfe65c2bcff0dcece14ae68022bae6d'
+ 'c9bd6479a0ce7fd767d4f9ce2fa3bda4719d4c4b47cb5af785c0a7c99952527fc4c51236e5abee8aecd211e49f464d0e5e15bb3cec2bd14910f88e35006d40ec'
'SKIP'
- '8ce55bd4e47a98f5ef8947643ba6ca6a3d88ae6f283754b45c4a5f4cd7b33e3a4ffb5d0fdae5bd41f6baa4d1fa78dbf9c40d6799af32a90252cf909d9df0a026'
- '1017b0baa11f6689ff7622be07a2bef3eb9b286950d6ffdf42d742edf03d1a6cc998eb501b51d138d609f367eb41aa7397422b6159be8bd34f0d151761aa2ac7'
- '1d052a805abf7c6b018f1455dd19a349bc756e4de7b5a15be6802e08320ee013f191527be2ff7901a91b90bfbd910b6086b25dba9942c6423baaee44e4bc5a6b'
+ 'cfacea6be8c4db9ddb4e3eef2c6893eee5eac15c575366e5045af642c94a47d5260ab159b61b8f4d7733d0a9d7edac8cad3ceb2e63fb51b8e7b75280117a22eb'
+ 'ce64186dd562dcd22c5b668e038b37e4a0d7fadcf7b8ef7813f04abcb2c25b5f4278dff30ff8d6c7b5925f2a0a5ee9d9cd3e85a5edffe4f0fa9c0f862a69b646'
+ 'ba872d8a730820b1f2ac924f75bd7bcbaf36d32b4c92b7fede17f46514ce8833816bd840090159f00231e3eaa895153a2d3a172ad0e147c499b031de2a95012b'
'7ad5be75ee422dda3b80edd2eb614d8a9181e2c8228cd68b3881e2fb95953bf2dea6cbe7900ce1013c9de89b2802574b7b24869fc5d7a95d3cc3112c4d27063a'
'2718b58dbbb15063bacb2bde6489e5b3c59afac4c0e0435b97fe720d42c711b6bcba926f67a8687878bd51373c9cf3adb1915a11666d79ccb220bf36e0788ab7'
'2dc6b0ba8f7dbf19d2446c5c5f1823587de89f4e28e9595937dd51a87755099656f2acec50e3e2546ea633ad1bfd1c722e0c2b91eef1d609103d8abdc0a7cbaf')
@@ -96,14 +100,14 @@ prepare() {
build() {
cd $_srcname
if [ "$CARCH" = "armv7h" ]; then
- make zImage modules dtbs
+ make zImage modules htmldocs dtbs
elif [ "$CARCH" = "x86_64" ] || [ "$CARCH" = "i686" ]; then
- make bzImage modules
+ make bzImage modules htmldocs
fi
}
_package() {
- pkgdesc="The ${pkgbase^} kernel and modules with a handful of awesome features not merged into mainline [AUFS, BFQ, BFS, UKSM]"
+ pkgdesc="The ${pkgbase^} kernel and modules with a handful of awesome features not merged into mainline [AUFS, BFQ, BFS]" # UKSM isn't for 5.2 yet
[[ $pkgbase = linux-libre ]] && groups=(base base-openrc)
depends=(coreutils linux-libre-firmware kmod mkinitcpio)
optdepends=('crda: to set the correct wireless channels of your country')
@@ -292,6 +296,18 @@ _package-docs() {
mkdir -p "$builddir"
cp -t "$builddir" -a Documentation
+ msg2 "Removing doctrees..."
+ rm -r "$builddir/Documentation/output/.doctrees"
+
+ msg2 "Moving HTML docs..."
+ local src dst
+ while read -rd '' src; do
+ dst="$builddir/Documentation/${src#$builddir/Documentation/output/}"
+ mkdir -p "${dst%/*}"
+ mv "$src" "$dst"
+ rmdir -p --ignore-fail-on-non-empty "${src%/*}"
+ done < <(find "$builddir/Documentation/output" -type f -print0)
+
msg2 "Adding symlink..."
mkdir -p "$pkgdir/usr/share/doc"
ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"