blob: 6a34c2433e12c5c620618506ddc250e8a883998f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=speex-git
pkgver=1.2.1.r8.gf39602d
pkgrel=1
pkgdesc="An patent-free audio compression format designed for speech"
arch=('i686' 'x86_64')
url="https://www.speex.org/"
license=('BSD')
depends=('glibc' 'libogg' 'speexdsp')
makedepends=('git')
provides=("speex=$pkgver")
conflicts=('speex')
source=("git+https://gitlab.xiph.org/xiph/speex.git")
sha256sums=('SKIP')
pkgver() {
cd "speex"
git describe --long --tags | sed 's/^Speex.//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "speex"
./autogen.sh
./configure \
--prefix="/usr" \
--enable-binaries
make
}
package() {
cd "speex"
make DESTDIR="$pkgdir" install
install -Dm644 "COPYING" -t "$pkgdir/usr/share/licenses/speex"
}
|