[arch-commits] Commit in libtheora/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Mon Sep 12 09:56:03 UTC 2011


    Date: Monday, September 12, 2011 @ 05:56:03
  Author: pierre
Revision: 137893

upgpkg: libtheora 1.1.1-2

rebuild old package

Modified:
  libtheora/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-09-12 09:45:56 UTC (rev 137892)
+++ PKGBUILD	2011-09-12 09:56:03 UTC (rev 137893)
@@ -4,7 +4,7 @@
 
 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 @@
 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}/"
 }




More information about the arch-commits mailing list