# Description: a free and open video compression format
# URL: https://www.theora.org/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libvorbis

name=libtheora
version=1.1.1
release=1
source=(https://downloads.xiph.org/releases/theora/$name-$version.tar.xz)

build() {
  cd $name-$version

  ./configure \
    --prefix=/usr \
    --disable-examples

  make
  make DESTDIR=$PKG install

  rm -r $PKG/usr/share/doc
  rmdir $PKG/usr/share
}
