[arch-commits] Commit in motion/repos (extra-i686 extra-i686/PKGBUILD)

Jan de Groot jgc at archlinux.org
Sat Apr 4 17:50:33 EDT 2009


    Date: Saturday, April 4, 2009 @ 17:50:33
  Author: jgc
Revision: 33850

Merged revisions 33749 via svnmerge from 
svn+ssh://svn.archlinux.org/srv/svn-packages/motion/trunk

........
  r33749 | jgc | 2009-04-04 19:30:50 +0000 (Sat, 04 Apr 2009) | 2 lines
  
  upgpkg: motion 3.2.11-1
      Rebuild with new ffmpeg. Remove unused dependencies: namcap and grep cannot find any reference to these
........

Modified:
  motion/repos/extra-i686/	(properties)
  motion/repos/extra-i686/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++++++--------------
 1 file changed, 15 insertions(+), 14 deletions(-)


Property changes on: motion/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /motion/trunk:1-24063
   + /motion/trunk:1-33849

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2009-04-04 21:49:02 UTC (rev 33849)
+++ extra-i686/PKGBUILD	2009-04-04 21:50:33 UTC (rev 33850)
@@ -2,29 +2,30 @@
 # Maintainer: Paul Mattal <paul at archlinux.org>
 
 pkgname=motion
-pkgver=3.2.10.1
-pkgrel=5
+pkgver=3.2.11
+pkgrel=1
 pkgdesc="Motion is a software motion detector. It grabs images from video4linux devices and/or from webcams."
 arch=(i686 x86_64)
 license=('GPL')
 url="http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome"
-depends=('curl' 'ffmpeg>=20081220' 'libogg' 'libvorbis' 'lame' 'xvidcore' 'x264>=20090108' 'mjpegtools')
+depends=('ffmpeg>=20090217')
 options=('!makeflags')
-source=(http://downloads.sourceforge.net/sourceforge/motion/$pkgname-$pkgver.tar.gz rc.motion motion-3.2.10.1-ffmpegheaders.patch motion-3.2.11-offsett.patch)
-md5sums=('5ffdc958313345c69d3e0d5ec5c013cd' 'fc09828564850824f8549d258053e0b6'\
-         '28bf5e6909fe73e41dde5f8f1101e6dd' 'b4f9a30cf47d403f8098ade75ed4350f')
+source=(http://downloads.sourceforge.net/sourceforge/motion/${pkgname}-${pkgver}.tar.gz
+	rc.motion
+	motion-3.2.11-offsett.patch)
+md5sums=('3a26c00f3250eacf6fa93c7a7e0249d9'
+         'fc09828564850824f8549d258053e0b6'
+         'b4f9a30cf47d403f8098ade75ed4350f')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
-  patch -p1 < ../motion-3.2.11-offsett.patch || return 1
-  patch -p1 < ../motion-3.2.10.1-ffmpegheaders.patch || return 1
-  autoreconf || return 1
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np1 -i "${srcdir}/motion-3.2.11-offsett.patch" || return 1
   ./configure --prefix=/usr --without-pgsql --without-mysql \
-  	--with-libavcodec=/usr/lib/ --sysconfdir=/etc/$pkgname || return 1
+  	--with-libavcodec=/usr/lib/ --sysconfdir=/etc/motion || return 1
 
   make || return 1
 
-  make DESTDIR=$startdir/pkg install || return 1
-  install -D -m755 $startdir/src/rc.motion $startdir/pkg/etc/rc.d/motion \
-  	|| return 1
+  make DESTDIR="${pkgdir}" install || return 1
+  install -m755 -d "${pkgdir}/etc/rc.d"
+  install -m755 "${srcdir}/rc.motion" "${pkgdir}/etc/rc.d/motion" || return 1
 }



More information about the arch-commits mailing list