1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
6 pkgdesc="DSP library derived from Speex"
7 url="https://www.speex.org/"
12 provides=(libspeexdsp.so)
13 _commit=1b28a0f61bc31162979e1f26f3981fc3637095c8 # tags/SpeexDSP-1.2.1^0
14 source=("git+https://gitlab.xiph.org/xiph/speexdsp.git#commit=$_commit")
19 git describe --tags | sed 's/^SpeexDSP-//;s/[^-]*-g/r&/;s/-/+/g'
29 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
31 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
42 make DESTDIR="$pkgdir" install
43 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING