[arch-commits] Commit in ndctl/trunk (PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Sat Dec 18 20:48:54 UTC 2021


    Date: Saturday, December 18, 2021 @ 20:48:53
  Author: felixonmars
Revision: 432765

upgpkg: ndctl 72-1

Modified:
  ndctl/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-18 19:24:14 UTC (rev 432764)
+++ PKGBUILD	2021-12-18 20:48:53 UTC (rev 432765)
@@ -1,20 +1,24 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=ndctl
-pkgver=71.1
+pkgver=72
 pkgrel=1
 pkgdesc='Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel'
 arch=('x86_64')
 url="https://github.com/pmem/ndctl"
 license=('LGPL')
-depends=('json-c' 'keyutils' 'kmod' 'systemd-libs' 'util-linux-libs')
+depends=('iniparser' 'json-c' 'keyutils' 'kmod' 'systemd-libs' 'util-linux-libs')
 makedepends=('asciidoctor' 'bash-completion' 'systemd' 'xmlto')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pmem/ndctl/archive/v$pkgver.tar.gz")
-sha512sums=('92fb06ca64455775ce0b89ba0846f70235e02fe3502e2a8a55a858f76f87cb90ae98f5bf01620e5884f667ea78ee2bee2cd9e7a85ffa8f8d9c456e9282ca9ebc')
+source=("https://github.com/pmem/ndctl/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
+        ndctl-iniparser-include.patch::https://github.com/pmem/ndctl/pull/186.patch)
+sha512sums=('0e27aebe9d700589703fdfaa8768e47c01af02dd8a252eeef32d2ec394cb4108dfa1a7142340335cb3e7f1e935915247821f9033e46c3f2f2e008d6beb51dd95'
+            '1ccc43fbd017a790f1f36b96b6ab061cafbbcb8c2dc127c81c968cdf5e4a75c7594a8bc53dee5a1f9a81f4b113137959671d6d63448b331982feb9b3b723bd7b')
 
 prepare() {
   # fix location of modprobe.d conf
   sed -i 's|^modprobedir =.*|modprobedir = /usr/lib/modprobe.d/|' $pkgname-$pkgver/Makefile.am
+
+  patch -d $pkgname-$pkgver -p1 < ndctl-iniparser-include.patch
 }
 
 build() {



More information about the arch-commits mailing list