summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fb3c178e23114623f0be1309457069170ada7164 (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
35
# Maintainer: Markus Kalb <mk@filmkreis.tu-darmstadt.de>
# Maintainer: Benjamin Radel <aur@radel.tk>

pkgname=leqm-nrt-git
pkgver=0.0.2.r10.gb795210
_branch=carl
pkgrel=1
pkgdesc="An open source implementation of Leq(M) measurement with patches from Carl"
arch=('x86_64')
url="https://git.carlh.net/gitweb/?p=leqm-nrt.git;a=summary"
license=(GPL2)
makedepends=(git python)
source=(
  "$pkgname::git+git://git.carlh.net/git/leqm-nrt.git#branch=${_branch}"
)
sha256sums=('SKIP')
conflicts=('leqm-nrt')
provides=('leqm-nrt')

pkgver() {
  cd "$pkgname"
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "$pkgname"
  ./waf configure --without-libsndfile --prefix=/usr
  ./waf build
}

package() {
  pkgdesc="An open source implementation of Leq(M) measurement with patches from Carl"
  cd $pkgname
  DESTDIR="${pkgdir}" ./waf install
}