diff options
author | root <root@rshg054.dnsready.net> | 2011-09-13 23:14:39 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-09-13 23:14:39 +0000 |
commit | a712dc92423a31a4d3ab34fe660df550feebf442 (patch) | |
tree | ad93851f4343f00cec2f901e4839da01a8b77efe /extra/libtheora | |
parent | b3a841a1f66eff75be29fba090b83ce4322d4721 (diff) |
Tue Sep 13 23:14:39 UTC 2011
Diffstat (limited to 'extra/libtheora')
-rw-r--r-- | extra/libtheora/PKGBUILD | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/extra/libtheora/PKGBUILD b/extra/libtheora/PKGBUILD index 4b26007aa..89cdaecb7 100644 --- a/extra/libtheora/PKGBUILD +++ b/extra/libtheora/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 57637 2009-11-01 07:48:03Z eric $ +# $Id: PKGBUILD 137894 2011-09-12 09:56:42Z pierre $ # Maintainer: Tom Killian <tom@archlinux.org> # Committer: dorphell <dorphell@archlinux.org> pkgname=libtheora pkgver=1.1.1 -pkgrel=1 +pkgrel=2 pkgdesc="An open video codec developed by the Xiph.org" arch=('i686' 'x86_64') url="http://www.xiph.org" @@ -12,16 +12,20 @@ license=('BSD') depends=('libogg') makedepends=('libvorbis') options=('!libtool') -source=(http://downloads.xiph.org/releases/theora/libtheora-${pkgver}.tar.bz2) +source=("http://downloads.xiph.org/releases/theora/libtheora-${pkgver}.tar.bz2") md5sums=('292ab65cedd5021d6b7ddd117e07cd8e') sha1sums=('8dcaa8e61cd86eb1244467c0b64b9ddac04ae262') build() { cd "${srcdir}/libtheora-${pkgver}" - ./configure --prefix=/usr --enable-shared --disable-static || return 1 - make || return 1 - make DESTDIR="${pkgdir}" install || return 1 - + ./configure --prefix=/usr --enable-shared --disable-static + make +} + +package() { + cd "${srcdir}/libtheora-${pkgver}" + make DESTDIR="${pkgdir}" install + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" - install -m644 LICENSE COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1 + install -m644 LICENSE COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" } |