summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9128705925bc2500bf1cfa30c8178ddb18a80c52 (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
# Maintainer: Nathaniel Chin <thegamingorangutans+aur at gmail.com>
# 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
}