archrelease: copy trunk to extra-x86_64
[arch-packages.git] / gnome-color-manager / trunk / PKGBUILD
blobac510ce9f098b8be0695fd960e1d5c6ca3c4983c
1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
3 pkgname=gnome-color-manager
4 pkgver=3.36.0
5 pkgrel=1
6 pkgdesc="GNOME Color Profile Tools"
7 url="https://gitlab.gnome.org/GNOME/gnome-color-manager"
8 arch=(x86_64)
9 license=(GPL2)
10 depends=(shared-color-targets colord gtk3 lcms2)
11 makedepends=(yelp-tools git appstream-glib meson docbook-utils docbook-sgml perl-sgmls)
12 checkdepends=(xorg-server-xvfb)
13 groups=(gnome)
14 _commit=3d5e99986d95842075013ddb9c622451f48cf252  # tags/GNOME_COLOR_MANAGER_3_36_0^0
15 source=("git+https://gitlab.gnome.org/GNOME/gnome-color-manager.git#commit=$_commit")
16 sha256sums=('SKIP')
18 pkgver() {
19   cd $pkgname
20   git describe --tags | sed 's/^GNOME_COLOR_MANAGER_//;s/_/./g;s/-/+/g'
23 prepare() {
24   cd $pkgname
27 build() {
28   arch-meson $pkgname build
29   ninja -C build
32 check() {
33   dbus-run-session xvfb-run \
34     -s '-screen 0 1920x1080x24 -nolisten local' \
35     meson test -C build --print-errorlogs
38 package() {
39   DESTDIR="$pkgdir" meson install -C build
42 # vim:set sw=2 et: