#!/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
