[arch-commits] Commit in motion/trunk (PKGBUILD rc.motion)
Andrea Scarpino
andrea at archlinux.org
Thu Mar 4 13:07:37 UTC 2010
Date: Thursday, March 4, 2010 @ 08:07:36
Author: andrea
Revision: 71115
upgpkg: motion 3.2.11.1-4
it needs more time (FS#18554)
Modified:
motion/trunk/PKGBUILD
motion/trunk/rc.motion
-----------+
PKGBUILD | 11 +++++++----
rc.motion | 2 +-
2 files changed, 8 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-03-04 12:41:41 UTC (rev 71114)
+++ PKGBUILD 2010-03-04 13:07:36 UTC (rev 71115)
@@ -3,7 +3,7 @@
pkgname=motion
pkgver=3.2.11.1
-pkgrel=3
+pkgrel=4
pkgdesc="A software motion detector. It grabs images from video4linux devices and/or from webcams"
arch=('i686' 'x86_64')
license=('GPL')
@@ -14,7 +14,7 @@
'rc.motion'
'libjpeg-8.patch')
md5sums=('4e729f129d8f9b9abaed5121c3cd0037'
- 'fc09828564850824f8549d258053e0b6'
+ '24b6fbfa586857b72f90cda81410c14f'
'945a7da5e65156804d2446826d28dfbb')
build() {
@@ -28,8 +28,11 @@
--with-libavcodec=/usr/lib/ \
--sysconfdir=/etc/motion || return 1
make || return 1
+}
+
+package(){
+ cd "${srcdir}/${pkgname}-${pkgver}"
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
+ install -Dm755 "${srcdir}/rc.motion" "${pkgdir}/etc/rc.d/motion" || return 1
}
Modified: rc.motion
===================================================================
--- rc.motion 2010-03-04 12:41:41 UTC (rev 71114)
+++ rc.motion 2010-03-04 13:07:36 UTC (rev 71115)
@@ -27,7 +27,7 @@
;;
restart)
$0 stop
- sleep 1
+ sleep 3
$0 start
;;
*)
More information about the arch-commits
mailing list