summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d67d842b72a217a81a861da3fd115ab9f0b94c0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Harms <thotro@lyse.net>

pkgname=libtheora-ptalarbvorm
pkgver=1.2.0alpha1
pkgrel=2
pkgdesc="An open video codec developed by the Xiph.org - ptalarbvorm version [unstable]."
arch=('i686' 'x86_64')
depends=('libogg')
makedepends=('libvorbis')
provides=('libtheora=${pkgver}')
conflicts=('libtheora')
url="http://www.theora.org/"
license=('custom')
options=(!libtool)
source=('http://downloads.xiph.org/releases/theora/libtheora-1.2.0alpha1.tar.xz' 'libtheora-1.2.0alpha1.patch')
md5sums=('57de23dcd8bcf2ced4458924b01d2f51' '68a29b838323b6eadd69b26337fbc55c')

build() {
  cd "${srcdir}/libtheora-${pkgver}"
  patch -Np1 -i "${srcdir}/libtheora-${pkgver}.patch"
  ./autogen.sh
  ./configure --prefix=/usr --enable-shared --disable-static --disable-examples
  make
}
package() {
  cd "${srcdir}/libtheora-${pkgver}"
  
  make DESTDIR="${pkgdir}" install
  
  # Install the documents.
  install -m755 -d "${pkgdir}/usr/share/licenses/libtheora"
  install -m644 LICENSE COPYING "${pkgdir}/usr/share/licenses/libtheora/"
}