diff options
author | nikp123 | 2018-03-25 12:56:30 +0200 |
---|---|---|
committer | nikp123 | 2018-03-25 12:56:30 +0200 |
commit | 673119ffed86c0407fe1ced6c1c640f666547b06 (patch) | |
tree | 493261865755aea6f4b7eb8b391e42efdb695b11 | |
parent | 9b714e770a59ebce9ad822f640e41a3d3ae7be6f (diff) | |
download | aur-673119ffed86c0407fe1ced6c1c640f666547b06.tar.gz |
updated PKGBUILD
-rwxr-xr-x | .SRCINFO | 5 | ||||
-rwxr-xr-x | PKGBUILD | 11 |
2 files changed, 11 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = cava-gui-git pkgdesc = Console/GUI Audio Visualizer for Alsa/Pulseaudio - pkgver = 0.6.0 - pkgrel = 4 + pkgver = VERSION + pkgrel = 1 url = https://github.com/nikp123/cava-gui arch = i686 arch = x86_64 @@ -15,6 +15,7 @@ pkgbase = cava-gui-git depends = ncurses depends = libx11 depends = sdl2 + depends = portaudio provides = cava conflicts = cava source = git+https://github.com/nikp123/cava @@ -1,18 +1,23 @@ pkgname=cava-gui-git _pkgname=cava -pkgver=0.6.0 -pkgrel=4 +pkgver=VERSION +pkgrel=1 pkgdesc='Console/GUI Audio Visualizer for Alsa/Pulseaudio' arch=('i686' 'x86_64') url='https://github.com/nikp123/cava-gui' license=('MIT') -depends=('fftw' 'alsa-lib' 'iniparser' 'ncurses' 'libx11' 'sdl2') +depends=('fftw' 'alsa-lib' 'iniparser' 'ncurses' 'libx11' 'sdl2' 'portaudio') makedepends=('libtool' 'automake' 'git') source=('git+https://github.com/nikp123/cava') conflicts=($_pkgname) provides=($_pkgname) sha1sums=('SKIP') +pkgver() { + cd "$pkgname" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + build() { cd $_pkgname ./autogen.sh |