Christian Heusel pushed to branch main at Arch Linux / Packaging / Packages / 
libkdumpfile


Commits:
dca0c848 by Christian Heusel at 2024-12-27T11:20:11+01:00
upgpkg: 0.5.5-1: New upstream release

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,16 +1,17 @@
 pkgbase = libkdumpfile
        pkgdesc = Library for kernel core dump file access
-       pkgver = 0.5.4
-       pkgrel = 2
+       pkgver = 0.5.5
+       pkgrel = 1
        url = https://github.com/ptesarik/libkdumpfile
        arch = x86_64
        license = LGPL-3.0-or-later OR GPL-2.0-or-later
+       makedepends = git
        depends = glibc
        depends = lzo
        depends = snappy
        depends = zlib
        depends = zstd
-       source = 
https://github.com/ptesarik/libkdumpfile/releases/download/v0.5.4/libkdumpfile-0.5.4.tar.bz2
-       sha256sums = 
a661003a81a8cabe40b4cfe6edcfe019d8877f0478133b11e884a4526d8697c4
+       source = git+https://github.com/ptesarik/libkdumpfile.git#tag=v0.5.5
+       sha256sums = 
13ab8512a0dbd7a6e8f121fa1b2cb9c4d979ba58bf1d49de4ab9a8f7f1def36d
 
 pkgname = libkdumpfile


=====================================
PKGBUILD
=====================================
@@ -2,8 +2,8 @@
 # Contributor: Omar Sandoval <osandov at osandov dot com>
 
 pkgname=libkdumpfile
-pkgver=0.5.4
-pkgrel=2
+pkgver=0.5.5
+pkgrel=1
 pkgdesc='Library for kernel core dump file access'
 arch=('x86_64')
 url='https://github.com/ptesarik/libkdumpfile'
@@ -15,21 +15,35 @@ depends=(
     'zlib'
     'zstd'
 )
-source=(https://github.com/ptesarik/libkdumpfile/releases/download/v$pkgver/libkdumpfile-$pkgver.tar.bz2)
-sha256sums=('a661003a81a8cabe40b4cfe6edcfe019d8877f0478133b11e884a4526d8697c4')
+makedepends=(
+    git
+)
+source=(git+${url}.git#tag=v${pkgver})
+sha256sums=('13ab8512a0dbd7a6e8f121fa1b2cb9c4d979ba58bf1d49de4ab9a8f7f1def36d')
+
+prepare() {
+    cd "$pkgname"
+    autoreconf -fiv
+
+    # https://github.com/ptesarik/libkdumpfile/issues/86
+    git cherry-pick -n \
+        120d4f09798fc4616f1af548a9811bbc43e55f72 \
+        c59ccc0c996868c63f5425a150979ecbaa9ba2d6 \
+        3796453174045b424cfba5a2c44d1e612e71e14e
+}
 
 build() {
-    cd "$pkgname-$pkgver"
+    cd "$pkgname"
     ./configure --prefix=/usr --without-python
     make
 }
 
 check() {
-    cd "$pkgname-$pkgver"
+    cd "$pkgname"
     make check
 }
 
 package() {
-    cd "$pkgname-$pkgver"
+    cd "$pkgname"
     make DESTDIR="$pkgdir" install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libkdumpfile/-/commit/dca0c84818908049e9ed4bf45fb3d550b3f0e159

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libkdumpfile/-/commit/dca0c84818908049e9ed4bf45fb3d550b3f0e159
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to