Date: Monday, January 13, 2014 @ 11:05:23
  Author: spupykin
Revision: 103885

upgpkg: motion 3.2.12-11

upd

Added:
  motion/trunk/motion.install
Modified:
  motion/trunk/PKGBUILD

----------------+
 PKGBUILD       |    3 ++-
 motion.install |    7 +++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-01-13 10:05:17 UTC (rev 103884)
+++ PKGBUILD    2014-01-13 10:05:23 UTC (rev 103885)
@@ -3,7 +3,7 @@
 
 pkgname=motion
 pkgver=3.2.12
-pkgrel=10
+pkgrel=11
 pkgdesc="A software motion detector which grabs images from video4linux 
devices and/or from webcams"
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -11,6 +11,7 @@
 depends=('libjpeg' 'v4l-utils' 'ffmpeg-compat')
 backup=('etc/motion/motion.conf')
 options=('!makeflags')
+install=motion.install
 source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
        motion.service
        motion.tmpfiles

Added: motion.install
===================================================================
--- motion.install                              (rev 0)
+++ motion.install      2014-01-13 10:05:23 UTC (rev 103885)
@@ -0,0 +1,7 @@
+post_install() {
+  systemd-tmpfiles --create motion.conf
+}
+
+post_upgrade() {
+  systemd-tmpfiles --create motion.conf
+}

Reply via email to