summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 37091eb26fac65a7f3aaff63981e7b403adcc7eb (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.6.r2.g7582e6d
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-2.0.so')
makedepends=('git' 'gobject-introspection' 'granite-git' 'gtk2' 'meson' 'vala'
             'wingpanel')
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: