summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0bd8e3c082c1011aee7715e1cfd5e793581e06fd (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: Maxime Gauduin <alucryd@archlinux.org>

pkgname=wingpanel-indicator-sound-git
pkgver=2.1.8.r12.g845e631
pkgrel=1
pkgdesc='Sound indicator for Wingpanel'
arch=('x86_64')
url='https://github.com/elementary/wingpanel-indicator-sound'
license=('GPL3')
groups=('pantheon-unstable')
depends=('cairo' 'gdk-pixbuf2' 'glib2' 'glibc' 'gtk2' 'gtk3' 'libcanberra'
         'libgee' 'libnotify' 'libpulse'
         'libgranite.so' 'libwingpanel.so')
makedepends=('git' 'gobject-introspection' 'granite-git' 'gtk2' 'meson' 'vala'
             'wingpanel-git')
provides=('wingpanel-indicator-sound')
conflicts=('wingpanel-indicator-sound')
source=('git+https://github.com/elementary/wingpanel-indicator-sound.git')
sha256sums=('SKIP')

pkgver() {
  cd wingpanel-indicator-sound

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

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

package() {

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

# vim: ts=2 sw=2 et: