summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a5f4b4e155b1fdf39786b6e4773d9eaedf5046b9 (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
# Maintainer: Nissar Chababy <funilrys at outlook dot com>
# Maintainer: Dvd-Znf <email@dvdznf.xyz>
# Ex-Maintainer: Celestial Walrus <aur@celestial.cf>

pkgname=cava
pkgver=0.10.4
pkgrel=1
pkgdesc='Console-based Audio Visualizer for Alsa'
arch=('any')
url='https://github.com/karlstav/cava'
license=('MIT')
depends=('fftw' 'alsa-lib' 'ncurses' 'iniparser' 'sndio' 'portaudio')
optdepends=('pulseaudio' 'pipewire')
makedepends=('sndio' 'portaudio' 'libpulse' 'm4' 'automake' 'autoconf' 'libpipewire')
source=("$pkgname-$pkgver.tar.gz::https://github.com/karlstav/cava/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha512sums=('1f11e3d89465990a026c4cd9e30853967b0ab542b310afe5464f399baec08e769b2bda52d07654eb449adbb66de1a6db721a2cbc90c241193de58b1e12d52259')

build() {
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname}-${pkgver}
  install -Dm755 cava "$pkgdir/usr/bin/cava"
  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"${pkgname}"/LICENSE
}