summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1827acaa9b2820e6708f12fed8b6010a5f621aa0 (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
# Maintainer: Que Quotion <quequotion@bugmenot.com>
# Contributor: Chris Warrick <aur@chriswarrick.com>
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=pavumeter-gtk3
pkgver=0.9.3
pkgrel=2
pkgdesc="A simple GTK volume meter for the PulseAudio sound server (GTK3)"
arch=(i686 x86_64)
url="http://git.0pointer.de/pavumeter.git"
license=(GPL)
depends=(gtkmm3 pulseaudio gnome-icon-theme libsigc++)
makedepends=(lynx git)
conflicts=(pavumeter)
provides=(pavumeter)
groups=(pulseaudio-gnome)
source=(git+https://github.com/nekohayo/pavumeter.git
        pavumeter.desktop
        pavumeter-record.desktop)
md5sums=('SKIP'
         'ead0c02a2af5fcf4acc381da39b836df'
         '2d784d472cd22dfc5320c30112e1e59d')

build() {
  cd ${srcdir}/${pkgname%-gtk3}
  ./autogen.sh
  CXXFLAGS="$CXXFLAGS -std=c++11" ./configure --prefix=/usr
  make || return 1
}

package() {
  cd ${srcdir}/${pkgname%-gtk3}
  make DESTDIR=${pkgdir} install

  install -Dm644 ${srcdir}/pavumeter.desktop \
    ${pkgdir}/usr/share/applications/pavumeter.desktop
  install -Dm644 ${srcdir}/pavumeter-record.desktop \
    ${pkgdir}/usr/share/applications/pavumeter-record.desktop
}