summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 212431e884a2902833d566cdfce0a012309da294 (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: tocic <tocic at protonmail dot ch>

pkgname=cavalcade
pkgver=0.8
pkgrel=3
pkgdesc="Python GUI wrapper for CAVA utility"
arch=('any')
url="https://github.com/worron/cavalcade"
license=('GPL')
depends=('python>=3.5' 'cava>=0.6' 'gtk3' 'python-cairo' 'python-gobject' 'gstreamer' 'gst-plugins-base' 'python-pillow' 'python-setuptools')
source=("$pkgname-$pkgver.tar.gz::https://github.com/worron/cavalcade/archive/$pkgver.tar.gz")
md5sums=('ae80a99fc1b79c54cf225d8c3101b53a')

build() {
    cd "$srcdir/$pkgname-$pkgver"

    python setup.py build
}

prepare() {
    cd "$srcdir/$pkgname-$pkgver"
}

package() {
    cd "$srcdir/$pkgname-$pkgver"

    python setup.py install --root="$pkgdir/" --prefix=/usr --optimize=1 --skip-build
}