summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1b72d2328122819391ffebab0e24cc207f835aad (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
40
41
42
43
44
45
46
47
48
49
50
# Maintainer: Carl Smedstad <carl.smedstad at protonmail dot com>
# Contributor: danb (danb) <danb (at) hasi.it>

pkgname=avizo
pkgver=1.3
pkgrel=1
pkgdesc="A neat notification daemon"
url="https://github.com/misterdanb/avizo"
arch=(x86_64)
license=(GPL-3.0-only)
depends=(
  alsa-utils
  cairo
  dbus
  glib2
  glibc
  gobject-introspection
  gtk-layer-shell
  gtk3
)
makedepends=(
  meson
  ninja
  vala
)
optdepends=(
  'brightnessctl: for helper script lightctl'
  'light: for helper script lightctl'
  'pamixer: for helper script volumectl'
)

source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('2b1f5817a916e518b0c10c4c94a3678a5054b879eb32c10b5d1425faa6387127')

_archive="$pkgname-$pkgver"

build() {
  cd "$_archive"

  arch-meson . build
  meson compile -C build
}

# No tests available.

package() {
  cd "$_archive"

  meson install -C build --destdir "$pkgdir"
}