summaryrefslogtreecommitdiff
path: root/extra/mjpegtools
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mjpegtools')
-rw-r--r--extra/mjpegtools/PKGBUILD13
-rw-r--r--extra/mjpegtools/mjpegtools.install4
2 files changed, 9 insertions, 8 deletions
diff --git a/extra/mjpegtools/PKGBUILD b/extra/mjpegtools/PKGBUILD
index f4a33c5cd..e12fecfbd 100644
--- a/extra/mjpegtools/PKGBUILD
+++ b/extra/mjpegtools/PKGBUILD
@@ -1,22 +1,23 @@
-# $Id: PKGBUILD 144422 2011-12-05 18:18:17Z jgc $
+# $Id: PKGBUILD 148854 2012-02-05 11:52:58Z ibiru $
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
-# Mantainer: Roberto Carvajal <roberto@archlinux.org>
+# Maintainer: Roberto Carvajal <roberto@archlinux.org>
pkgname=mjpegtools
pkgver=2.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="Set of tools that can do recording of videos and playback, simple cut-and-paste editing and the MPEG compression of audio and video"
arch=(i686 x86_64)
license=('GPL')
url="http://mjpeg.sourceforge.net/"
-depends=('libjpeg' 'libpng' 'sdl' 'gcc-libs' 'libdv' 'texinfo')
+depends=('libjpeg' 'libpng' 'sdl' 'gcc-libs' 'libdv')
makedepends=('gtk2' 'v4l-utils')
optdepends=('gtk2: glav GUI')
options=('!makeflags' '!libtool')
install=mjpegtools.install
source=(http://downloads.sourceforge.net/sourceforge/mjpeg/${pkgname}-${pkgver}.tar.gz
mjpegtools-v4l-2.6.38.patch)
-md5sums=('903e1e3b967eebcc5fe5626d7517dc46')
+md5sums=('903e1e3b967eebcc5fe5626d7517dc46'
+ '44006d6f844017fe57aa123aa43f4508')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -31,5 +32,3 @@ package() {
make DESTDIR="${pkgdir}" install
install -m644 mpeg2enc/mpeg2syntaxcodes.h "${pkgdir}/usr/include/mjpegtools/mpeg2enc/"
}
-md5sums=('903e1e3b967eebcc5fe5626d7517dc46'
- '44006d6f844017fe57aa123aa43f4508')
diff --git a/extra/mjpegtools/mjpegtools.install b/extra/mjpegtools/mjpegtools.install
index ef149c761..4d1231686 100644
--- a/extra/mjpegtools/mjpegtools.install
+++ b/extra/mjpegtools/mjpegtools.install
@@ -1,7 +1,8 @@
-infodir=/usr/share/info
+infodir=usr/share/info
file=mjpeg-howto.info
post_install() {
+ [[ -x usr/bin/install-info ]] || return 0
install-info $infodir/$file.gz $infodir/dir 2> /dev/null
}
@@ -10,5 +11,6 @@ post_upgrade() {
}
pre_remove() {
+ [[ -x usr/bin/install-info ]] || return 0
install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
}