summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 91550488f44e0c57ac412c524bfa92ffbe577b1d (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
# Maintainer: Carneiro <gabriel dot chaves dot carneiro at gmail dot com>
pkgname=pulse-vumeter-git
_pkgname=pulse-vumeter
pkgver=0.11.r0.db03acc
pkgrel=1
pkgdesc="A pulseaudio cli vumeter"
url="https://github.com/theRealCarneiro/pulse-vumeter"
arch=('i686' 'x86_64')
license=('MIT')
depends=('libpulse')
provides=('pulse-vumeter')
makedepends=('git' 'libpulse' 'make')
optdepends=('pipewire-pulse' 'pulseaudio')
source=(${_pkgname}::git+${url}.git)
md5sums=('SKIP')

pkgver(){
	cd $_pkgname
	printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g; s/.//')"
}

build() {
	cd $_pkgname
	make
}

package() {
	cd $_pkgname
	make DESTDIR="$pkgdir/" PREFIX=/usr install
}