summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 502ea2c290ad7b7be0e5717a0c9b3f2eb4ea5317 (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
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>

pkgname=wingpanel-indicator-nightlight-git
pkgver=2.0.4.r42.gd771eed
pkgrel=1
pkgdesc='Winganel Nightlight Indicator'
arch=(x86_64)
url=https://github.com/elementary/wingpanel-indicator-nightlight
license=(GPL2)
groups=(pantheon-unstable)
depends=(
  glib2
  glibc
  gtk3
  libwingpanel.so
  libgranite.so
)
makedepends=(
  git
  intltool
  meson
  vala
  wingpanel-git
  granite-git
)
provides=(wingpanel-indicator-nightlight)
conflicts=(wingpanel-indicator-nightlight)
source=(git+https://github.com/elementary/wingpanel-indicator-nightlight.git)
sha256sums=(SKIP)

pkgver() {
  cd wingpanel-indicator-nightlight

  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  arch-meson wingpanel-indicator-nightlight build
  ninja -C build
}

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

# vim: ts=2 sw=2 et: