blob: 918bcb6a9fe2f3961e59343aad2cbf0f83b3e63b (
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
|
# Maintainer: timescam <timescam at duck dot com>
# Contributor: Celestial Walrus <aur@celestial.cf>
pkgname=cava-git
_pkgname=cava
pkgver=r957.395b36e
pkgrel=6
pkgdesc='Console-based Audio Visualizer for Alsa. Development version.'
arch=('i686' 'x86_64')
url='https://github.com/karlstav/cava'
license=('MIT')
depends=("fftw" "ncurses" "alsa-lib" "iniparser" "pulse-native-provider")
makedepends=('git' 'xxd' 'autoconf-archive')
source=('git+https://github.com/karlstav/cava.git')
conflicts=($_pkgname)
provides=($_pkgname)
sha1sums=('SKIP')
pkgver() {
cd $_pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $_pkgname
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd $_pkgname
install -Dm755 cava "$pkgdir/usr/bin/cava"
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}
|