mirror of
https://github.com/archlinux-jerry/pkgbuilds
synced 2024-11-22 14:00:40 +08:00
add package: cava-git
This commit is contained in:
parent
a35df51c26
commit
864ac3319f
2 changed files with 36 additions and 0 deletions
32
cava-git/PKGBUILD
Normal file
32
cava-git/PKGBUILD
Normal file
|
@ -0,0 +1,32 @@
|
|||
pkgname=cava-git
|
||||
_pkgname=cava
|
||||
pkgver=r246.d654130
|
||||
pkgrel=1
|
||||
pkgdesc='Console-based Audio Visualizer for Alsa'
|
||||
arch=('i686' 'x86_64' 'aarch64')
|
||||
url='https://github.com/karlstav/cava'
|
||||
license=('MIT')
|
||||
depends=('fftw' 'alsa-lib' 'iniparser')
|
||||
makedepends=('git')
|
||||
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
|
||||
}
|
4
cava-git/autobuild.yaml
Normal file
4
cava-git/autobuild.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
type:
|
||||
auto
|
||||
priority:
|
||||
10
|
Loading…
Reference in a new issue