[arch-commits] Commit in ndctl/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Mar 18 19:58:05 UTC 2019
Date: Monday, March 18, 2019 @ 19:58:04
Author: felixonmars
Revision: 348616
archrelease: copy trunk to extra-x86_64
Added:
ndctl/repos/extra-x86_64/PKGBUILD
(from rev 348615, ndctl/trunk/PKGBUILD)
Deleted:
ndctl/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 55 ++++++++++++++++++++++++++++++-------------------------
1 file changed, 30 insertions(+), 25 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-18 19:57:49 UTC (rev 348615)
+++ PKGBUILD 2019-03-18 19:58:04 UTC (rev 348616)
@@ -1,25 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=ndctl
-pkgver=64.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' 'kmod' 'libsystemd' 'libutil-linux')
-makedepends=('asciidoctor' 'xmlto' 'bash-completion')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pmem/ndctl/archive/v$pkgver.tar.gz")
-sha512sums=('d1f537a72d918a26939d72eb1f5f04ca197e197c6a0fe208916de126ad36ec079b7cb7aa2a3b07d9e28d4def6385f5f1b0309fab81f0f08043df60635fdc7a8b')
-
-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 348615, ndctl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-18 19:58:04 UTC (rev 348616)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=ndctl
+pkgver=64.1
+pkgrel=2
+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' 'kmod' 'systemd-libs' 'libutil-linux')
+makedepends=('asciidoctor' 'xmlto' 'bash-completion')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pmem/ndctl/archive/v$pkgver.tar.gz")
+sha512sums=('d1f537a72d918a26939d72eb1f5f04ca197e197c6a0fe208916de126ad36ec079b7cb7aa2a3b07d9e28d4def6385f5f1b0309fab81f0f08043df60635fdc7a8b')
+
+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
+}
More information about the arch-commits
mailing list