summaryrefslogtreecommitdiff
path: root/extra/webrtc-audio-processing/PKGBUILD
blob: 299adac16c533b7acefd369dff47f37e51ad923d (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
# $Id: PKGBUILD 198484 2013-10-30 15:08:43Z allan $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>

pkgname=webrtc-audio-processing
pkgver=0.1
pkgrel=1
_gitrev=9413986
pkgdesc="AudioProcessing library based on Google's implementation of WebRTC"
arch=(i686 x86_64)
url="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing"
license=(custom)
depends=(gcc-libs)
source=("$url/$pkgname-$pkgver.tar.xz")
sha256sums=('ed4b52f9c2688b97628035a5565377d74704d7c04de4254a768df3342c7afedc')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --disable-static
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install

  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
  install -Dm644 PATENTS "$pkgdir/usr/share/licenses/$pkgname/PATENTS"
}