summaryrefslogtreecommitdiff
path: root/extra/speex/PKGBUILD
blob: 4caff0078095291f7d9a1fd9c716ae09e4959647 (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
# $Id: PKGBUILD 196966 2013-10-21 11:52:49Z heftig $
# 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)
options=('!libtool')
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"
}