summaryrefslogtreecommitdiff
path: root/extra/speex/PKGBUILD
blob: 4e69ffb66f7478a3674b16871f349affeb482035 (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
# $Id: PKGBUILD 198437 2013-10-30 14:52:06Z allan $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributer: Jason Chu <jason@archlinux.org>

pkgname=speex
pkgver=1.2rc1
pkgrel=4
pkgdesc="A free codec for free speech"
arch=(i686 x86_64)
url="http://www.speex.org/"
license=(BSD)
depends=(libogg)
source=(http://downloads.us.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('c4438b22c08e5811ff10e2b06ee9b9ae')

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

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}