summaryrefslogtreecommitdiff
path: root/extra/speex/PKGBUILD
blob: a3d004e8583a21924ca376535320abc124a8b1e1 (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 137583 2011-09-09 22:58:20Z allan $
# Maintainer: 
# Contributer: Jason Chu <jason@archlinux.org>

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

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

package() {
  cd $srcdir/speex-$pkgver
  make DESTDIR=$startdir/pkg install

  install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
}