aboutsummaryrefslogtreecommitdiffstats
path: root/community/nvme-cli
diff options
context:
space:
mode:
Diffstat (limited to 'community/nvme-cli')
-rw-r--r--community/nvme-cli/APKBUILD19
1 files changed, 12 insertions, 7 deletions
diff --git a/community/nvme-cli/APKBUILD b/community/nvme-cli/APKBUILD
index 766d749c19..a78fee9b22 100644
--- a/community/nvme-cli/APKBUILD
+++ b/community/nvme-cli/APKBUILD
@@ -1,14 +1,14 @@
# Contributor: Florian Heigl <florian.heigl@gmail.com>
# Maintainer: Florian Heigl <florian.heigl@gmail.com>
pkgname=nvme-cli
-pkgver=2.0
+pkgver=2.1.1
pkgrel=0
pkgdesc="NVM-Express user space tooling for Linux"
-options="!check" # Requires nose2
arch="all"
url="https://github.com/linux-nvme/nvme-cli"
license="GPL-2.0-only"
makedepends="
+ bash
libnvme-dev
linux-headers
meson
@@ -16,14 +16,16 @@ makedepends="
uuidgen
zlib-dev
"
+checkdepends="
+ py3-nose2
+ "
subpackages="
$pkgname-doc
$pkgname-bash-completion
$pkgname-zsh-completion
"
-source="$pkgname-$pkgver.tar.gz::https://github.com/linux-nvme/nvme-cli/archive/v$pkgver.tar.gz
- fix-include.patch
- "
+source="$pkgname-$pkgver.tar.gz::https://github.com/linux-nvme/nvme-cli/archive/v$pkgver.tar.gz"
+options="!check" # needs pci nvme stuff
build() {
abuild-meson \
@@ -33,12 +35,15 @@ build() {
meson compile -C output
}
+check() {
+ meson test -v --no-rebuild -C output
+}
+
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
rm -rf "$pkgdir"/usr/lib/systemd
}
sha512sums="
-24a00ee8e0fc963c1757797413ff5725cec18f821a714d6bbbf37906010d72934d6fdd7b466c085f13716a5279d1a7bd3254ee474e37a0ecd00a85ef23e12417 nvme-cli-2.0.tar.gz
-473571ed325e26cd12d9688689342112d7a64ce3e9b700bbe8b616cd7d57799a0c11e317683ba1183e5884e6930e874057108a9182e2c5b7495e3ed877f1f2ff fix-include.patch
+61a8e7c0ae8da082ac0cda2fdf61ffe8d83ed5d4ee31640bde89fde929ba3fe6d788950bd232630af2c7fc5f3563f05f47f350e005c8556691e5aede73c88d74 nvme-cli-2.1.1.tar.gz
"