# Maintainer: Nathaniel Chin # Contributor: sekret, mail=$(echo c2VrcmV0QHBvc3Rlby5zZQo= | base64 -d) pkgname=plotbitrate-git pkgver=1.0.7.1.r3.ga092d99 pkgrel=1 pkgdesc="a script for plotting the bitrate of an audio or video stream over time" arch=('any') url="https://github.com/zeroepoch/plotbitrate" license=('BSD') depends=('python-matplotlib' 'python-pyqt5' 'ffmpeg') makedepends=('git' 'python-setuptools') source=("git+https://github.com/zeroepoch/plotbitrate.git") md5sums=('SKIP') provides=('python-plotbitrate-git') conflicts=('python-plotbitrate-git') pkgver() { cd "plotbitrate" git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g' } package() { cd "${srcdir}/plotbitrate" python setup.py install --root="${pkgdir}/" --optimize=1 }