* update lsb-release to 2.0.r55.a25a4fc-1

This commit is contained in:
Alexander Baldeck 2025-01-04 00:03:57 +01:00
parent 14d53abd28
commit 4ceac269ab
3 changed files with 26 additions and 40 deletions

View File

@ -1,19 +1,17 @@
pkgbase = lsb-release
pkgdesc = LSB version query program
pkgver = 2.0.r53.a86f885
pkgrel = 2
pkgver = 2.0.r55.a25a4fc
pkgrel = 1
url = https://refspecs.linuxfoundation.org/lsb.shtml
arch = any
license = GPL
license = GPL-2.0-or-later
makedepends = git
depends = sh
source = git+https://github.com/LinuxStandardBase/lsb-samples.git#commit=a86f885597a91cd41837d706bf6a08d4c239a54b
source = git+https://github.com/LinuxStandardBase/lsb-samples.git#commit=a25a4fcd73c79bd5af0dd8d948a7c96dcbfd2d07
source = lsb-release
source = lsb_release_description.patch
source = lsb_release_make_man_page_reproducible.patch
sha512sums = SKIP
sha512sums = c4fb9d1026b6cc362b95d8b6662709ec18c0c8cb642d3a811d75bbb0e2fda93e1281accce40b7e7d5cde162144486a29d4c34ccbffcdd8f18e0ff51aef83db97
sha512sums = 145ef64f90f5e6cc59075679e640cf7c1ad02617c12eff17f10b05c1cc219591fdba1b27be2b2c8480742aed24ce81d6a7badcbaca6772faea4ebc6a55695b62
sha512sums = ab64a1d236d00a30a48e3af2c5bdfa0aad0183ebe0df4f2b0c6af58530c2a1fdac1b0a5cdd8a1800d5f8405f44562603cddf28eb318b5badaabd49a82e0b7e83
sha256sums = 924805b889f49c88691c7894ddb43fd7750a76aaf44657e5f282f7347d6e3b60
sha256sums = b68bca433bb6b36e7d285daf52a8b93f9a284ecede61aded2e25ec6f78b134af
sha256sums = a1e9323e991cdc6d1183d2faf158fbd358feb4ce73046227d5c932f6660925cf
pkgname = lsb-release

View File

@ -1,47 +1,42 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Jonas Witschel <diabonas@archlinux.org>
# Maintainer : Daniel Bermond <dbermond@archlinux.org>
# Contributor: Jonas Witschel <diabonas@archlinux.org>
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Malte Rabenseifner <malte@zearan.de>
# Contributor: John Gerritse <reaphsharc@gmail.com>
pkgname=lsb-release
pkgver=2.0.r53.a86f885
_commit=a86f885597a91cd41837d706bf6a08d4c239a54b
pkgrel=2.1
pkgdesc="LSB version query program"
pkgver=2.0.r55.a25a4fc
_commit=a25a4fcd73c79bd5af0dd8d948a7c96dcbfd2d07
pkgrel=1
pkgdesc='LSB version query program'
arch=(any)
url="https://refspecs.linuxfoundation.org/lsb.shtml"
license=('GPL')
url='https://refspecs.linuxfoundation.org/lsb.shtml'
license=('GPL-2.0-or-later')
depends=('sh')
makedepends=('git')
source=("git+https://github.com/LinuxStandardBase/lsb-samples.git#commit=$_commit"
source=("git+https://github.com/LinuxStandardBase/lsb-samples.git#commit=${_commit}"
'lsb-release'
'lsb_release_description.patch'
'lsb_release_make_man_page_reproducible.patch')
sha512sums=('SKIP'
'c4fb9d1026b6cc362b95d8b6662709ec18c0c8cb642d3a811d75bbb0e2fda93e1281accce40b7e7d5cde162144486a29d4c34ccbffcdd8f18e0ff51aef83db97'
'145ef64f90f5e6cc59075679e640cf7c1ad02617c12eff17f10b05c1cc219591fdba1b27be2b2c8480742aed24ce81d6a7badcbaca6772faea4ebc6a55695b62'
'ab64a1d236d00a30a48e3af2c5bdfa0aad0183ebe0df4f2b0c6af58530c2a1fdac1b0a5cdd8a1800d5f8405f44562603cddf28eb318b5badaabd49a82e0b7e83')
sha256sums=('924805b889f49c88691c7894ddb43fd7750a76aaf44657e5f282f7347d6e3b60'
'b68bca433bb6b36e7d285daf52a8b93f9a284ecede61aded2e25ec6f78b134af'
'a1e9323e991cdc6d1183d2faf158fbd358feb4ce73046227d5c932f6660925cf')
pkgver() {
cd lsb-samples/lsb_release/src
printf "%s.r%s.%s" "$(grep -Po 'SCRIPTVERSION="\K[^"]*' lsb_release)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
printf '%s.r%s.%s' "$(grep -Po 'SCRIPTVERSION="\K[^"]*' lsb_release)" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd lsb-samples/lsb_release/src
patch -Np0 -i "$srcdir/lsb_release_description.patch"
patch -Np1 -i "$srcdir/lsb_release_make_man_page_reproducible.patch"
patch -d lsb-samples/lsb_release/src -Np1 -i "${srcdir}/lsb_release_make_man_page_reproducible.patch"
}
build() {
cd lsb-samples/lsb_release/src
make
make -C lsb-samples/lsb_release/src
}
package() {
cd lsb-samples/lsb_release/src
install -Dm644 lsb_release.1.gz -t "$pkgdir/usr/share/man/man1"
install -Dm755 lsb_release -t "$pkgdir/usr/bin"
install -Dm644 "$srcdir/lsb-release" -t "$pkgdir/etc"
install -D -m755 lsb-samples/lsb_release/src/lsb_release -t "${pkgdir}/usr/bin"
install -D -m644 lsb-samples/lsb_release/src/lsb_release.1.gz -t "${pkgdir}/usr/share/man/man1"
install -D -m644 lsb-release -t "${pkgdir}/etc"
}

View File

@ -10,11 +10,9 @@ man page.
help2man | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 04fdecd..d2f6230 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ man: lsb_release.1.gz
@@ -22,7 +22,7 @@ man: lsb_release.1.gz
lsb_release.1.gz: lsb_release
@./help2man -N --include ./lsb_release.examples --alt_version_key=program_version ./lsb_release >lsb_release.1
@ -23,8 +21,6 @@ index 04fdecd..d2f6230 100644
install: all
install -D -m 644 lsb_release.1.gz ${mandir}/man1/lsb_release.1.gz
diff --git a/help2man b/help2man
index 13015c2..d448342 100755
--- a/help2man
+++ b/help2man
@@ -173,7 +173,7 @@ my ($help_text, $version_text) = map {
@ -36,6 +32,3 @@ index 13015c2..d448342 100755
(my $program = $ARGV[0]) =~ s!.*/!!;
my $package = $program;
my $version;
--
2.27.0