summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: eec4f7f12e2bde65bc83046d836da8d822e51a10 (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
28
29
# Maintainer: tytan652 <tytan652@tytanium.xyz>

pkgname=deviced-git
pkgver=r284.8bb6119
pkgrel=1
pkgdesc="Daemon that can be run on a development device that will allow IDEs and other tooling to interact with the device"
arch=('x86_64' 'aarch64')
url="https://gitlab.gnome.org/chergert/deviced"
license=('GPL3')
depends=('libnm' 'jsonrpc-glib' 'flatpak' 'appstream-glib')
makedepends=('git' 'meson' 'ninja' 'gobject-introspection')
provides=('deviced' 'libdeviced')
conflicts=('deviced')
source=("$pkgname::git+https://gitlab.gnome.org/chergert/deviced.git")
sha256sums=("SKIP")

pkgver() {
  cd "$pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  arch-meson $pkgname build
  meson compile -C build
}

package() {
  meson install -C build --destdir "$pkgdir"
}