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

recipes/utils/libmbim/PAGBUILD.yaml main

42 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233343536373839404142
pkgname: libmbim
pkgver: '1.34.0'
pkgrel: '1'
pkgdesc: 'MBIM modem protocol helper library'
url: 'https://www.freedesktop.org/wiki/Software/libmbim/'
arch: x86_64
license:
- 'GPL2 LGPL2.1'

depends: []
makedepends:
- meson
- ninja
- libgudev
- 'gtk-doc'
- glib
- python
- help2man
- 'bash-completion'

source:
- 'https://gitlab.freedesktop.org/mobile-broadband/libmbim/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

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

  meson setup .. \
      --prefix=/usr

  ninja
  DESTDIR=${PKGDIR} ninja install

  install -Dm644 ../LICENSES/GPL-2.0-or-later.txt ${PKGDIR}/usr/share/licenses/${pkgname}/GPL-2.0-or-later.txt
  install -Dm644 ../LICENSES/LGPL-2.1-or-later.txt ${PKGDIR}/usr/share/licenses/${pkgname}/LGPL-2.1-or-later.txt

package: |
  true