summaryrefslogtreecommitdiffstats
path: root/opus/MAKEPKG
blob: d4cde716c53b1584217cb4bdcccc7d9c39dc848a (plain) (blame)
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
#!/bin/mkpkg
# description: Codec for interactive speech and audio transmission over the Internet
# url: https://opus-codec.org

name=opus
version=1.6.1
release=1
source=(https://downloads.xiph.org/releases/opus/opus-$version.tar.gz)
sha256sums=(
    "6ffcb593207be92584df15b32466ed64bbec99109f007c82205f0194572411a1"
)

build() {
    cd $name-$version
    CONFIG_SHELL=/bin/bash ./configure \
        --prefix=/usr \
        --disable-static \
        --disable-doc \
        --disable-extra-programs
    make
    make DESTDIR=$PKG install

    rm -f $PKG/usr/lib/libopus.la
}

signify() {
    untrusted comment: public key
    RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}

# vim: filetype=sh