From 271da49386e259723ef574713339f04886630604 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Tue, 14 Jan 2014 03:47:29 +0000 Subject: Tue Jan 14 03:40:13 UTC 2014 --- community/motion/PKGBUILD | 5 +++-- community/motion/motion.install | 7 +++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 community/motion/motion.install (limited to 'community/motion') 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 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 +} -- cgit v1.2.3-54-g00ecf