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

recipes/utils/libgsystemservice/PAGBUILD.yaml main

43 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334353637383940414243
pkgname: libgsystemservice
pkgver: '0.1.0'
pkgrel: '1'
pkgdesc: Library for writing GDBus system services with Polkit integration
url: 'https://gitlab.freedesktop.org/pwithnall/libgsystemservice'
arch: x86_64
license:
- LGPL-2.1-or-later

depends:
- glib2
- polkit
- systemd-libs

makedepends:
- git
- meson
- gobject-introspection
- gi-docgen

source:
- 'https://gitlab.freedesktop.org/pwithnall/libgsystemservice.git'

sha256sums:
- SKIP

build: |
  cd libgsystemservice*/

  meson setup \
    --prefix=/usr \
    --buildtype=plain \
    --libexecdir=lib \
    --sbindir=bin \
    -D b_pie=true \
    --wrap-mode=nodownload \
    . builddir

  meson compile -C builddir

package: |
  cd libgsystemservice*/
  DESTDIR="${PKGDIR}" meson install -C builddir