archrelease: copy trunk to extra-x86_64
[arch-packages.git] / speexdsp / trunk / PKGBUILD
blob3eb4bdb164e7a41bcea35b29863aa7b2e1b9e8b0
1 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
3 pkgname=speexdsp
4 pkgver=1.2.0
5 pkgrel=2
6 pkgdesc="DSP library derived from Speex"
7 arch=(x86_64)
8 url="https://www.speex.org/"
9 license=(BSD)
10 depends=(glibc)
11 source=(https://downloads.us.xiph.org/releases/speex/$pkgname-$pkgver.tar.gz)
12 sha512sums=('e357cd5377415ea66c862302c7cf8bf6a10063cacd903f0846478975b87974cf5bdf00e2c6759d8f4f453c4c869cf284e9dc948a84a83d7b2ab96bd5405c05ec')
14 prepare() {
15   cd $pkgname-$pkgver
18 build() {
19   cd $pkgname-$pkgver
20   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
21   make
24 check() {
25   cd $pkgname-$pkgver
26   make -k check
29 package() {
30   cd $pkgname-$pkgver
31   make DESTDIR="$pkgdir" install
32   install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING