summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 961bd230d45b3a11183f59e86f5af4323c83e0ff (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=r47.1cd4b3a
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' 'libgranite.so' '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
}