Update package version to 6.15

This commit is contained in:
2025-08-15 15:54:02 +03:00
parent afaeb61f5d
commit de21354dbf
3 changed files with 18 additions and 6 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Git repository
REPO="https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git"
# Get tag name using 'git ls-remote'
TAG_NAME=$(git ls-remote --exit-code --refs --tags --sort='v:refname' "$REPO" | tail -1 | cut -d'/' -f3)
# Get version number from tag name
VERSION=$(echo "$TAG_NAME" | rev | cut -d'-' -f1 | rev)
echo "$VERSION"
+1 -2
View File
@@ -1,7 +1,6 @@
name: man-pages name: man-pages
description: Linux manual pages description: Linux manual pages
version: 6.06 version: 6.15
revision: 3
url: https://www.kernel.org/doc/man-pages/ url: https://www.kernel.org/doc/man-pages/
license: Linux-man-pages-1-para,Linux-man-pages-copyleft,Linux-man-pages-copyleft-var,Linux-man-pages-copyleft-2-para,BSD-2-Clause,BSD-3-Clause,BSD-4-Clause-UC,GPL1-or-later,GPL2-only,GPL2-or-later,MIT license: Linux-man-pages-1-para,Linux-man-pages-copyleft,Linux-man-pages-copyleft-var,Linux-man-pages-copyleft-2-para,BSD-2-Clause,BSD-3-Clause,BSD-4-Clause-UC,GPL1-or-later,GPL2-only,GPL2-or-later,MIT
architecture: any architecture: any
+5 -4
View File
@@ -11,15 +11,16 @@ prepare() {
echo "$DOWNLOAD" echo "$DOWNLOAD"
wget "$DOWNLOAD" wget "$DOWNLOAD"
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
# Libxcrypt manpages are instaleld through the 'libxcrypt' package
rm "$BPM_SOURCE"/man3/crypt* rm "$BPM_SOURCE"/man3/crypt*
} }
# The package function is executed in the source directory # The package function is executed in the source directory
# This function is used to move the compiled files into the output directory # This function is used to move the compiled files into the output directory
package() { package() {
make prefix=/usr DESTDIR="$BPM_OUTPUT" install make -R GIT=false prefix=/usr DESTDIR="$BPM_OUTPUT" install
for license in LICENSES/*; do # Install package licences
install -Dm644 $license -t "$BPM_OUTPUT"/usr/share/licenses/man-pages/ install -Dm644 LICENSES/* -t "$BPM_OUTPUT"/usr/share/licenses/man-pages/
done
} }