From 864ac3319fd2bbc82a4e3f9dac900f4c184466dd Mon Sep 17 00:00:00 2001 From: Archlinux-Jerry Build Bot Date: Sun, 6 Oct 2019 13:32:14 +0800 Subject: [PATCH] add package: cava-git --- cava-git/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ cava-git/autobuild.yaml | 4 ++++ 2 files changed, 36 insertions(+) create mode 100644 cava-git/PKGBUILD create mode 100644 cava-git/autobuild.yaml diff --git a/cava-git/PKGBUILD b/cava-git/PKGBUILD new file mode 100644 index 0000000..0294b95 --- /dev/null +++ b/cava-git/PKGBUILD @@ -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 +} diff --git a/cava-git/autobuild.yaml b/cava-git/autobuild.yaml new file mode 100644 index 0000000..f9e1b29 --- /dev/null +++ b/cava-git/autobuild.yaml @@ -0,0 +1,4 @@ +type: + auto +priority: + 10