summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 62674582992eedab79015fa271e1563d343f1db1 (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
30
31
32
33
34
# Maintainer: M0Rf30

pkgname=friture-git
pkgver=1293.16c6714
pkgrel=1
pkgdesc="An application to visualize and analyze live audio data in real-time."
arch=(i686 x86_64)
url="http://tlecomte.github.com/friture/"
license=('GPL3')
depends=('pyqwt' 'python-scipy' 'python-psutil' 'python-pyaudio' 'python-opengl' 'python-pyqt5')
optdepends=('jack: for JACK I/O support')
makedepends=('cython2')
source=("friture::git+https://github.com/tlecomte/friture.git")
md5sums=('866407aefd359ae16015f4ce6a2cd212')

build() {
  cd friture
  python2 setup.py build
}

package() {
  cd friture
  python setup.py install --root="$pkgdir/"

  # python2, CRLF fix
#  sed -i 's/\r//;s/env python/&2/' `find "$pkgdir" -name "*.py"` \
#    "$pkgdir/usr/bin/$pkgname"
}

pkgver() {
  cd friture
  echo $(git rev-list --count master).$(git rev-parse --short master)
}
md5sums=('SKIP')