PKGBUILDs/extra/speexdsp/PKGBUILD

36 lines
831 B
Bash
Raw Normal View History

2015-07-15 00:42:13 +00:00
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
2022-02-07 03:47:41 +00:00
# remove when bumped upstream
2015-07-15 00:42:13 +00:00
pkgname=speexdsp
2019-06-09 21:19:09 +00:00
pkgver=1.2.0
2022-02-07 03:47:41 +00:00
pkgrel=2.1
2015-07-15 00:42:13 +00:00
pkgdesc="DSP library derived from Speex"
2018-06-07 12:36:57 +00:00
arch=(x86_64)
2019-02-15 19:20:01 +00:00
url="https://www.speex.org/"
2015-07-15 00:42:13 +00:00
license=(BSD)
depends=(glibc)
2019-06-09 21:19:09 +00:00
source=(https://downloads.us.xiph.org/releases/speex/$pkgname-$pkgver.tar.gz)
sha512sums=('e357cd5377415ea66c862302c7cf8bf6a10063cacd903f0846478975b87974cf5bdf00e2c6759d8f4f453c4c869cf284e9dc948a84a83d7b2ab96bd5405c05ec')
2015-07-15 00:42:13 +00:00
prepare() {
cd $pkgname-$pkgver
}
build() {
cd $pkgname-$pkgver
2022-02-07 03:47:41 +00:00
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
2015-07-15 00:42:13 +00:00
make
}
check() {
cd $pkgname-$pkgver
make -k check
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
2019-02-15 19:20:01 +00:00
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING
2015-07-15 00:42:13 +00:00
}