Browse Source

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

master
artoo 6 months ago
parent
commit
9d348b2e00
  1. 16
      trunk/PKGBUILD
  2. 16
      x86_64/extra/PKGBUILD

16
trunk/PKGBUILD

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

16
x86_64/extra/PKGBUILD

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