blob: 314cadc8ab56660fa971669aa55287c0af77ed06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: tristanrw <hidden>
# Contributor: Blutkoete <tobias dot borgert @ gmail dot com>
# Contributor: 1Conan <me at 1conan dot com>
# Contributor: Mitchell Renouf <mitchellarenouf at gmail dot com>
pkgname=snapd-glib
pkgdesc="Library to allow GLib/Qt based applications access to snapd, the daemon that controls Snaps"
depends=('libsoup3' 'json-glib' 'qt5-declarative' 'glib2-devel' 'qt5-base')
pkgver=1.65
pkgrel=1
arch=('x86_64')
url="https://github.com/snapcore/snapd-glib"
license=('GPL3')
makedepends=('gobject-introspection' 'gtk-doc' 'meson' 'qt5-tools' 'vala')
source=(https://github.com/snapcore/snapd-glib/releases/download/${pkgver}/snapd-glib-${pkgver}.tar.xz)
sha256sums=('f2e6d0f45ed10065f8d7d65cde27d57ef23c0541663d912acbf85322ae911e61')
build() {
cd "$pkgname-$pkgver"
meson setup -Dprefix=/usr -Dbuildtype=release -Ddebug=false -Doptimization=3 -Dqt5=true -Dqt6=false build
ninja -C build
}
package() {
cd "$pkgname-$pkgver"
DESTDIR="$pkgdir" meson install -C build
}
|