pkgname=ndctl pkgver=80 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=('GPLv2') depends=('json-c' 'systemd' 'iniparser' 'libtraceevent' 'libtracefs') makedepends=('asciidoctor' 'xmlto' 'bash-completion' 'meson' 'ninja') source=("https://github.com/pmem/ndctl/archive/v${pkgver}.tar.gz") md5sums=('adfaa89ebaf7c9ee77ffd936810fe140') build() { mkdir -p build cd build meson setup ../${pkgname}-${pkgver} \ --prefix=/usr \ --buildtype=release \ -Dasciidoctor=enabled ninja } # needs nfit_test.ko to run any tests, disable for now #check() { # cd ${pkgname}-${pkgver} # make check #} package() { cd build DESTDIR=${pkgdir} ninja install }