summaryrefslogtreecommitdiff
path: root/community/motion
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-14 03:47:29 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-14 03:47:29 +0000
commit271da49386e259723ef574713339f04886630604 (patch)
tree3357a1b3aa15cfd25145095c41b0a94612ce3635 /community/motion
parentbcefa96cbc68f340b2aa11c108353993db074e76 (diff)
Tue Jan 14 03:40:13 UTC 2014
Diffstat (limited to 'community/motion')
-rw-r--r--community/motion/PKGBUILD5
-rw-r--r--community/motion/motion.install7
2 files changed, 10 insertions, 2 deletions
diff --git a/community/motion/PKGBUILD b/community/motion/PKGBUILD
index b97b1b43e..d9db1fdb2 100644
--- a/community/motion/PKGBUILD
+++ b/community/motion/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 94894 2013-08-01 06:55:12Z bpiotrowski $
+# $Id: PKGBUILD 103886 2014-01-13 10:05:50Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
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 @@ url="http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome"
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
diff --git a/community/motion/motion.install b/community/motion/motion.install
new file mode 100644
index 000000000..f36054033
--- /dev/null
+++ b/community/motion/motion.install
@@ -0,0 +1,7 @@
+post_install() {
+ systemd-tmpfiles --create motion.conf
+}
+
+post_upgrade() {
+ systemd-tmpfiles --create motion.conf
+}