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

Eric Bélanger eric at archlinux.org
Sat Jul 3 17:30:49 UTC 2010


    Date: Saturday, July 3, 2010 @ 13:30:48
  Author: eric
Revision: 84707

upgpkg: transcode 1.1.5-4
Rebuilt against imagemagick 6.6.2.10

Modified:
  transcode/trunk/PKGBUILD

----------+
 PKGBUILD |   36 +++++++++++++++++++++---------------
 1 file changed, 21 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-07-03 16:49:10 UTC (rev 84706)
+++ PKGBUILD	2010-07-03 17:30:48 UTC (rev 84707)
@@ -6,7 +6,7 @@
 pkgname=transcode
 _sripver=0.3-4
 pkgver=1.1.5
-pkgrel=3
+pkgrel=4
 pkgdesc="A video/DVD ripper and encoder for the terminal/console."
 arch=('i686' 'x86_64')
 url="http://tcforge.berlios.de/"
@@ -14,12 +14,12 @@
 depends=('imagemagick' 'lzo2' 'libdv' 'libdvdread' 'ffmpeg' 'mjpegtools'
 	'xvidcore' 'libmpeg2' 'libtheora' 'libxaw' 'x264' 'libxml2'
 	'libxv' 'a52dec' 'alsa-lib')
-makedepends=('nasm' 'pkgconfig')
+makedepends=('nasm' 'pkg-config')
 options=('!libtool' '!makeflags')
 source=(http://download2.berlios.de/tcforge/${pkgname}-${pkgver}.tar.bz2
 	http://downloads.sourceforge.net/sourceforge/subtitleripper/subtitleripper-${_sripver}.tgz)
-md5sums=('41ac6b1c0fe30f3aab286e771fc31b9e'
-	'c0bd49a88f667c68c4430ad25bbed510')
+md5sums=('41ac6b1c0fe30f3aab286e771fc31b9e' 'c0bd49a88f667c68c4430ad25bbed510')
+sha1sums=('48c36e06ca0cd1cdc1a9c6a241e231f896eefd26' 'd93ff3578dd5f722c8f4ef16bc0903eec5781a0d')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
@@ -42,24 +42,30 @@
     --with-lzo-libs=/usr/lib \
     --with-libavcodec-prefix=/usr \
     --with-libavcodec-includes=/usr/include \
-    --with-libavcodec-libs=/usr/lib || return 1
+    --with-libavcodec-libs=/usr/lib
 
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
+  make
  ##############################################################################
  # this imports the latest subtitleripper sources and replaces the internal
   mkdir contrib
   mv "${srcdir}/subtitleripper" contrib/subrip
  # removes dependency on libppm, make it dependend on netpbm just failed, argh...
-  cd contrib/subrip || return 1
+  cd contrib/subrip
   sed -e 's|^\(.*lppm.*\)$|#\1|' \
       -e 's|^\(.*D_HAVE_LIB_PPM.*\)$|#\1|' \
       -e 's/DEFINES :=/DEFINES = -DHAVE_GETLINE/' \
-      -i Makefile || return 1
-  make || return 1
-  install -m 755 pgm2txt "${pkgdir}/usr/bin/" || return 1
-  install -m 755 srttool "${pkgdir}/usr/bin/" || return 1
-  install -m 755 subtitle2pgm "${pkgdir}/usr/bin/" || return 1
-  install -m 755 subtitle2vobsub "${pkgdir}/usr/bin/" || return 1
-  install -m 755 vobsub2pgm "${pkgdir}/usr/bin/" || return 1
+      -i Makefile
+  make
 }
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  cd contrib/subrip
+  install -m 755 pgm2txt "${pkgdir}/usr/bin/"
+  install -m 755 srttool "${pkgdir}/usr/bin/"
+  install -m 755 subtitle2pgm "${pkgdir}/usr/bin/"
+  install -m 755 subtitle2vobsub "${pkgdir}/usr/bin/"
+  install -m 755 vobsub2pgm "${pkgdir}/usr/bin/"
+}




More information about the arch-commits mailing list