summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d0f4211d82a6b33e3b8ee4c7ee5c000719911c02 (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.1.1.0.r1.g59a12ab
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-pyqt6' '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 --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
  cd "${srcdir}/plotbitrate"
  python setup.py install --root="${pkgdir}/" --optimize=1
}