# Maintainer: Chocobo1 pkgname=libtheora-git pkgver=1.2.0alpha1.r148.g7180717 pkgrel=1 pkgdesc="An open video codec developed by the Xiph.org" arch=('i686' 'x86_64') url="https://www.theora.org/" license=('BSD') depends=('glibc' 'libogg') makedepends=('git' 'libvorbis') provides=("libtheora=$pkgver") conflicts=('libtheora') options=('staticlibs') source=("git+https://gitlab.xiph.org/xiph/theora.git") sha256sums=('SKIP') pkgver() { cd "theora" git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd "theora" ./autogen.sh ./configure \ --prefix="/usr" \ --disable-examples make } check() { cd "theora" make check } package() { cd "theora" make DESTDIR="$pkgdir" install install -Dm644 "COPYING" -t "$pkgdir/usr/share/licenses/libtheora" }