[arch-commits] Commit in ndctl/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Sat Dec 18 20:49:03 UTC 2021


    Date: Saturday, December 18, 2021 @ 20:49:02
  Author: felixonmars
Revision: 432766

archrelease: copy trunk to extra-x86_64

Added:
  ndctl/repos/extra-x86_64/PKGBUILD
    (from rev 432765, ndctl/trunk/PKGBUILD)
Deleted:
  ndctl/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   64 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 34 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-18 20:48:53 UTC (rev 432765)
+++ PKGBUILD	2021-12-18 20:49:02 UTC (rev 432766)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=ndctl
-pkgver=71.1
-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')
-makedepends=('asciidoctor' 'bash-completion' 'systemd' 'xmlto')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pmem/ndctl/archive/v$pkgver.tar.gz")
-sha512sums=('92fb06ca64455775ce0b89ba0846f70235e02fe3502e2a8a55a858f76f87cb90ae98f5bf01620e5884f667ea78ee2bee2cd9e7a85ffa8f8d9c456e9282ca9ebc')
-
-prepare() {
-  # fix location of modprobe.d conf
-  sed -i 's|^modprobedir =.*|modprobedir = /usr/lib/modprobe.d/|' $pkgname-$pkgver/Makefile.am
-}
-
-build() {
-  cd "$srcdir"/$pkgname-$pkgver
-  ./autogen.sh
-  ./configure --prefix=/usr --sysconfdir=/etc
-  make
-}
-
-package() {
-  cd "$srcdir"/$pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: ndctl/repos/extra-x86_64/PKGBUILD (from rev 432765, ndctl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-18 20:49:02 UTC (rev 432766)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=ndctl
+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=('iniparser' 'json-c' 'keyutils' 'kmod' 'systemd-libs' 'util-linux-libs')
+makedepends=('asciidoctor' 'bash-completion' 'systemd' 'xmlto')
+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() {
+  cd "$srcdir"/$pkgname-$pkgver
+  ./autogen.sh
+  ./configure --prefix=/usr --sysconfdir=/etc
+  make
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list