core/speex/PKGBUILD

29 lines
687 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
pkgname=speex
2016-01-02 11:18:03 +08:00
pkgver=1.2rc2
pkgrel=1
2010-03-14 23:48:48 +08:00
pkgdesc="A free codec for free speech"
arch=('x86_64')
2010-03-14 23:48:48 +08:00
url="http://www.speex.org/"
2016-01-02 11:18:03 +08:00
license=(BSD)
depends=(libogg speexdsp)
source=(http://downloads.us.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('6ae7db3bab01e1d4b86bacfa8ca33e81')
2010-03-14 23:48:48 +08:00
build() {
2016-01-02 11:18:03 +08:00
cd $pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static \
--enable-binaries # Must be given or configure won't use pkg-config correctly
make
}
2016-01-02 11:18:03 +08:00
check() {
cd $pkgname-$pkgver
make -k check
}
2016-01-02 11:18:03 +08:00
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
2010-03-14 23:48:48 +08:00
}