#!/bin/mkpkg
# description: Ogg bitstream and framing library
# url: https://www.xiph.org/ogg

name=libogg
version=1.3.6
release=1
depends=()
makedeps=()
source=(https://downloads.xiph.org/releases/ogg/$name-$version.tar.xz)
sha256sums=(
    "5c8253428e181840cd20d41f3ca16557a9cc04bad4a3d04cce84808677fa1061"
)

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

    rm -f $PKG/usr/lib/libogg.la
    rm -rf ${PKG}/usr/share/doc
}

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

# vim: filetype=sh

