#!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit # Maintainer : Joe Bo Run # PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname" # Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgname=ndctl pkgver=77 pkgrel=01 ## eudev rebuild pkgdesc='Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel w/o systemd' url="https://github.com/pmem/ndctl" depends=('iniparser' 'json-c' 'keyutils' 'kmod' 'util-linux-libs' 'eudev' 'libtraceevent' 'libtracefs' ) makedepends=('asciidoctor' 'bash-completion' 'cmake' 'meson' 'xmlto') source=("https://github.com/pmem/ndctl/archive/v$pkgver/$pkgname-$pkgver.tar.gz") prepare() { # fix location of modprobe.d conf sed -i "s|^modprobedatadir =.*|modprobedatadir = '/usr/lib/modprobe.d/'|" $pkgname-$pkgver/contrib/meson.build } build() { arch-meson $pkgname-$pkgver build -D systemd=disabled meson compile -C build } check() { meson test -C build --print-errorlogs } package() { meson install -C build --destdir "$pkgdir" # cd $pkgname-$pkgver # make DESTDIR="$pkgdir" install } #---- arch license gpg-key & sha256sums ---- arch=(x86_64) license=('LGPL') sha256sums=(6ba54374b6182a211ee4115d83d1822422536c49f1a5234bac46c23c175f40b8) # ndctl-77.tar.gz ## 66940f9639fb36b6b6405714ff2f51c61ef3ce1bc6e370853a062f5d92312d9e ndctl-77-01-x86_64.pkg.tar.lz