summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a381a2bc28c8e000be92ac8fd9a87967b8cb018e (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
# Maintainer: Que Quotion <quequotin@bugmenot.com>
# Contributor: NicoHood <archlinux {cat} nicohood {dog} de>

pkgname=pantheon-notifications-git
pkgver=r282.a495af5
pkgrel=1
pkgdesc='A Gtk notification server for Pantheon'
arch=('i686' 'x86_64')
url='https://github.com/elementary/notifications'
license=('GPL3')
groups=('pantheon-unstable')
depends=('gtk3' 'gtk-theme-elementary')
makedepends=('git' 'meson' lib{granite.so,handy,canberra} 'vala')
conflicts=(pantheon-notifications)
source=("git+https://github.com/elementary/notifications.git")
sha512sums=('SKIP')

pkgver() {
  cd "notifications"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  arch-meson notifications build
  ninja -C build
}

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