aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fdb3b037dcbb5288469f4ca13c3a9857e5c533ea (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
# Maintainer: timescam <rex.ky.ng at gmail dot com>

_pkgname=cavapify
pkgname=$_pkgname-git
pkgver=r15.a2d3160
pkgrel=5
pkgdesc="Automatically change the color of the cava visualizer bars according to the color of the current album art of any media player that implements the MPRIS."
arch=(any)
url="https://github.com/kb-elmo/$_pkgname"
license=('GPL3')
makedepends=('git')
depends=('cava-git'
'imagemagick'
'playerctl'
'wget'
)
provides=("$_pkgname")

source=("$_pkgname::git+https://github.com/kb-elmo/$_pkgname.git")
md5sums=('SKIP')

pkgver() {
            cd "$srcdir/$_pkgname"
            echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

package () {
            install -Dm755 "$srcdir/$_pkgname/playcheck.sh" "$pkgdir/usr/bin/playcheck.sh"
}