summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f03a20ddbf4d50db31c3855735247867f779aa43 (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
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=hydrapaper
pkgver=3.3.2
pkgrel=2
pkgdesc="A Gtk utility to set different backgrounds for each monitor on GNOME"
arch=('any')
url="https://hydrapaper.gabmus.org"
license=('GPL-3.0-or-later')
depends=(
  'libadwaita'
  'python-dbus'
  'python-gobject'
  'python-pillow'
)
makedepends=(
  'blueprint-compiler'
  'git'
  'gobject-introspection'
  'meson'
  'pandoc'
)
source=("git+https://gitlab.gnome.org/GabMus/HydraPaper.git#tag=$pkgver")
sha256sums=('979949d75d89618b26ca765a5c2b6273506087e1b7b00db2a51a53cacca709fe')

build() {
  arch-meson HydraPaper build
  meson compile -C build
}

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

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