#!/bin/bash MAKEDEPS=(make) DEPS=(libogg libvorbis) DESC="An open video codec developed by the Xiph.org" PKG_VER=1.1.1 SOURCE=https://downloads.xiph.org/releases/theora/libtheora-$PKG_VER.tar.xz prepare () { sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c && } build () { ./configure --prefix=/usr --disable-static && make } package () { make DESTDIR=$PKG_DEST install }