🔒 Repository is read-only – file editing is disabled.

recipes/utils/libnvme/PAGBUILD.yaml main

41 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435363738394041
pkgname: libnvme
pkgver: '1.16.2'
pkgrel: '1'
pkgdesc: 'C Library for NVM Express on Linux'
url: 'https://github.com/linux-nvme/libnvme'
arch: x86_64
license:
- 'LGPL2.1'

depends: []
makedepends:
- dbus
- 'json-c'
- keyutils
- swig

source:
- 'https://github.com/linux-nvme/${pkgname}/archive/refs/tags/v${pkgver}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}

  mkdir build &&
  cd    build &&

  meson setup .. \
        --prefix=/usr \
        --buildtype=release \
        -Dlibdbus=auto

  ninja

  DESTDIR=${PKGDIR} ninja install

  install -Dm644 ../COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING

package: |
  true