summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ef1b9663fb10735a0ec880ba82f71112fa1a06cd (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
30
31
32
33
34
35
36
37
38
39
# Maintainer: Philip Goto <philip.goto@gmail.com>
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>

pkgname=dconf-editor-git
pkgver=3.36.0.r12.gc1fc7f3
pkgrel=1
pkgdesc="dconf Editor"
arch=(i686 x86_64 armv7h aarch64)
url="https://wiki.gnome.org/Projects/dconf"
license=(GPL3)
groups=(gnome-extra)
depends=(gtk3 dconf)
makedepends=(vala meson appstream-glib git)
provides=(dconf-editor)
conflicts=(dconf-editor)
source=("git+https://gitlab.gnome.org/GNOME/dconf-editor.git")
sha256sums=('SKIP')

pkgver() {
  cd dconf-editor
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

prepare() {
  cd dconf-editor
}

build() {
  arch-meson dconf-editor build
  ninja -C build
}

check() {
  meson test -C build --print-errorlogs
}

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