summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 71856fb69e8ff12cd311f191778e6a3a43866d42 (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
# Maintainer: éclairevoyant
# 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
pkgver=0.9.3
pkgrel=10
pkgdesc="A simple GTK volume meter for the PulseAudio sound server"
arch=('i686' 'x86_64')
url='http://0pointer.de/lennart/projects/pavumeter/'
license=('GPL')
depends=('gnome-icon-theme' 'gtkmm' 'libsigc++' 'pulse-native-provider')
makedepends=('git' 'lynx')
source=("https://0pointer.de/lennart/projects/pavumeter/pavumeter-${pkgver}.tar.gz"
        $pkgname.desktop
        $pkgname-record.desktop)
sha256sums=('fd8d5804c27efb22d63579aba5ab69d70ad115f5eb8c7bd1d63d5024113f067b'
            '76c61e2991ac58d4158c51ab7829a8d09a301c1514e9ba6aa624dad9684a747e'
            '06fb8e2ac01f49fca112c05f4f5323ae521eafec72e734e65d9d0313b6f2c1ce')

build() {
	cd "$pkgname-$pkgver"
	CXXFLAGS="$CXXFLAGS -std=c++11" ./configure --prefix=/usr
	make
}

package() {
	make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
	install -Dm644 -t "$pkgdir/usr/share/applications/" $pkgname.desktop $pkgname-record.desktop
}