summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fbbce9320d0ea3a12dff82480307045758c14474 (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
# Maintainer: danb (danb) <danb (at) hasi.it>

pkgname=avizo
pkgver=1.0+10+g7b3874e
pkgrel=1
pkgdesc="A neat notification daemon"
url="https://github.com/misterdanb/avizo"
arch=(x86_64)
license=(GPL)
depends=(gtk3 gtk-layer-shell dbus light alsa-utils)
makedepends=(vala meson git)
_commit=7b3874e5ee25c80800b3c61c8ea30612aaa6e8d1
source=("git+https://github.com/misterdanb/avizo")
sha256sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --tags | sed 's/-/+/g'
}

prepare() {
  cd $pkgname
  git checkout $_commit
}

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

check() {
  meson test -C build
}

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