2025-07-05 21:52:34 +02:00

49 lines
1.3 KiB
Plaintext

# Contributor: Angelo Verlain <hey@vixalien.com>
maintainer="Angelo Verlain <hey@vixalien.com>"
pkgname=deviced
pkgver=0_git20250427
_commit=8bb61199a689bfc02fe07b02edda2039d1999d1f
pkgrel=0
pkgdesc="daemon, library, and tools for communicating with development devices"
url="https://gitlab.gnome.org/chergert/deviced"
arch="all"
license="GPL-3.0-or-later"
options="!check" # no tests
makedepends="
meson
appstream-glib-dev
avahi-dev
flatpak-dev
gobject-introspection-dev
glib-dev
gnutls-dev
jsonrpc-glib-dev
networkmanager-dev
readline-dev
"
subpackages="
$pkgname-dev
$pkgname-openrc
"
source="
https://gitlab.gnome.org/chergert/deviced/-/archive/$_commit/deviced-$_commit.tar.gz
deviced.initd
"
builddir="$srcdir/$pkgname-$_commit"
build() {
abuild-meson . output
meson compile -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
install -Dm755 "$srcdir"/deviced.initd "$pkgdir"/etc/user/init.d/deviced
}
sha512sums="
e2b91137a0ea2b7058c82140564774096f0937fe509df988c643c5ca2bc4ab2514f6af5375ef141b48641224061ead3a80d12ae6e8fff49c8c9e03e4d8987ce4 deviced-8bb61199a689bfc02fe07b02edda2039d1999d1f.tar.gz
c4081283b132f7ecb1e17fad56ada3547fb2bb8ec0c5c8226aea5006f899a12757838d01a553e5990460676add2e6ff1cdf778a883bb1daec2c661d7597df745 deviced.initd
"