Browse Source

[trunk] -> [extra] 'ndctl-72.1-1' add

master
artoo 4 months ago
parent
commit
66e5c29143
  1. 12
      trunk/PKGBUILD
  2. 12
      x86_64/extra/PKGBUILD

12
trunk/PKGBUILD

@ -1,24 +1,20 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=ndctl
pkgver=72
pkgver=72.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=('iniparser' 'json-c' 'keyutils' 'kmod' 'util-linux-libs' 'libudev.so')
depends=('iniparser' 'json-c' 'keyutils' 'kmod' 'libudev.so' 'util-linux-libs')
makedepends=('asciidoctor' 'bash-completion' 'udev' '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')
source=("https://github.com/pmem/ndctl/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('7304e23121c99457fa6e22a399fb636f6a66d6d07b090463ec41e424687b06e7e8a1a18623ab9dd5783aaccfa09ff964e3477b63aaa4614ac60f6e6050452f12')
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() {

12
x86_64/extra/PKGBUILD

@ -1,24 +1,20 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=ndctl
pkgver=72
pkgver=72.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=('iniparser' 'json-c' 'keyutils' 'kmod' 'util-linux-libs' 'libudev.so')
depends=('iniparser' 'json-c' 'keyutils' 'kmod' 'libudev.so' 'util-linux-libs')
makedepends=('asciidoctor' 'bash-completion' 'udev' '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')
source=("https://github.com/pmem/ndctl/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('7304e23121c99457fa6e22a399fb636f6a66d6d07b090463ec41e424687b06e7e8a1a18623ab9dd5783aaccfa09ff964e3477b63aaa4614ac60f6e6050452f12')
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() {

Loading…
Cancel
Save