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)
14 _commit=1b28a0f61bc31162979e1f26f3981fc3637095c8 # tags/SpeexDSP-1.2.1^0
15 source=("git+https://gitlab.xiph.org/xiph/speexdsp.git#commit=$_commit")
20 git describe --tags | sed 's/^SpeexDSP-//;s/[^-]*-g/r&/;s/-/+/g'
30 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
32 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
43 make DESTDIR="$pkgdir" install
44 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING