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

recipes/gui/gtk-layer-shell/PAGBUILD.yaml main

47 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
pkgname: 'gtk-layer-shell'
pkgver: '0.10.1'
pkgrel: '1'
pkgdesc: 'Library to create Wayland desktop components using the Layer Shell protocol'
url: 'https://github.com/wmww/gtk-layer-shell'
arch: x86_64
license:
- 'GPL3 LGPL3 MIT'

depends: []
makedepends:
- gtk3
- wayland
- 'gtk-doc'
- 'gobject-introspection'
- vala

source:
- 'https://github.com/wmww/gtk-layer-shell/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

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

  mkdir build
  cd    build

  meson setup .. \
        --prefix=/usr \
          --wrap-mode=nofallback \
          --buildtype=plain \
          -Dtests=false \
          -Ddocs=false \
          -Dintrospection=true

  ninja

  DESTDIR=${PKGDIR} ninja install

  install -Dm644 ../LICENSE_GPL.txt ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE_GPL.txt
  install -Dm644 ../LICENSE_LGPL.txt ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE_LGPL.txt
  install -Dm644 ../LICENSE_MIT.txt ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE_MIT.txt

package: |
  true