diff options
author | Karl Bonde Torp | 2022-02-18 11:06:16 +0100 |
---|---|---|
committer | Karl Bonde Torp | 2022-02-18 11:06:16 +0100 |
commit | b2b595f1957cbeb91cf6f8be896d72c40d31ff1e (patch) | |
tree | 96f0bddef09462a09cc23b7cbfcaa104311b28df | |
download | aur-b2b595f1957cbeb91cf6f8be896d72c40d31ff1e.tar.gz |
create xnvme package
Signed-off-by: Karl Bonde Torp <k.torp@samsung.com>
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..838b51ab989b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = xnvme + pkgdesc = Cross-platform libraries and tools for NVMe devices + pkgver = 0.1.0 + pkgrel = 1 + url = https://github.com/OpenMPDK/xNVMe + arch = x86_64 + license = APACHE + makedepends = git + makedepends = meson + makedepends = ninja + makedepends = cunit + makedepends = ncurses + depends = python-pyelftools + depends = libaio + depends = libutil-linux + depends = numactl + depends = python3 + source = https://github.com/OpenMPDK/xNVMe/releases/download/v0.1.0/xnvme-0.1.0.tar.gz + md5sums = SKIP + +pkgname = xnvme diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a5606aa00522 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Karl Bonde Torp <k.torp@samsung.com> +pkgname=xnvme +pkgver=0.1.0 +pkgrel=1 +pkgdesc="Cross-platform libraries and tools for NVMe devices" +arch=('x86_64') +url="https://github.com/OpenMPDK/xNVMe" +license=('APACHE') +depends=(python-pyelftools libaio libutil-linux numactl python3) +makedepends=(git meson ninja cunit ncurses) +source=("https://github.com/OpenMPDK/xNVMe/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz") +md5sums=('SKIP') + +build() { + arch-meson "$pkgname-$pkgver" build + meson compile -C build +} + +package() { + meson install -C build --destdir "$pkgdir" +} |