diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-09-26 18:59:42 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-09-26 18:59:42 -0300 |
commit | 959510fa239cdcdaf0d8d3875cd2aaf652d74241 (patch) | |
tree | 0afdc6c433cbf03de1656e5d2557838af7098214 /community/motion | |
parent | 37c6b66933676a18529b4e647d1a79a626900512 (diff) | |
parent | 483f8b3ac46ac2d40e8cc2f9c25365741bebc791 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community-staging/happy/PKGBUILD
community-staging/haskell-quickcheck/PKGBUILD
community/mingw32-gcc-base/PKGBUILD
core/mlocate/PKGBUILD
core/procps-ng/PKGBUILD
core/sysvinit/PKGBUILD
elementary/gtk-engine-equinox/PKGBUILD
extra/audacious/PKGBUILD
extra/libsigc++/PKGBUILD
extra/postgresql-old-upgrade/PKGBUILD
extra/qt/PKGBUILD
extra/tftp-hpa/PKGBUILD
extra/transmission/PKGBUILD
gnome-unstable/at-spi2-atk/PKGBUILD
gnome-unstable/at-spi2-core/PKGBUILD
gnome-unstable/atk/PKGBUILD
gnome-unstable/clutter/PKGBUILD
gnome-unstable/evolution-data-server/PKGBUILD
gnome-unstable/evolution/PKGBUILD
gnome-unstable/gjs/PKGBUILD
gnome-unstable/glib-networking/PKGBUILD
gnome-unstable/glib2/PKGBUILD
gnome-unstable/gnome-desktop/PKGBUILD
gnome-unstable/gnome-online-accounts/PKGBUILD
gnome-unstable/gnome-settings-daemon/PKGBUILD
gnome-unstable/gnome-themes-standard/PKGBUILD
gnome-unstable/gobject-introspection/PKGBUILD
gnome-unstable/gtk3/PKGBUILD
gnome-unstable/gtkhtml4/PKGBUILD
gnome-unstable/gvfs/PKGBUILD
gnome-unstable/libsoup/PKGBUILD
gnome-unstable/nautilus/PKGBUILD
gnome-unstable/vala/PKGBUILD
gnome-unstable/webkitgtk3/PKGBUILD
libre/libretools/PKGBUILD
multilib/lib32-gtk2/PKGBUILD
multilib/lib32-qt/PKGBUILD
multilib/lib32-util-linux/PKGBUILD
testing/mlocate/PKGBUILD
testing/openmpi/PKGBUILD
testing/run-parts/PKGBUILD
testing/systemd/PKGBUILD
testing/transmission/PKGBUILD
testing/transmission/transmission-cli.install
testing/transmission/transmission.systemd
Diffstat (limited to 'community/motion')
-rw-r--r-- | community/motion/PKGBUILD | 10 | ||||
-rw-r--r-- | community/motion/motion.service | 12 | ||||
-rw-r--r-- | community/motion/motion.tmpfiles | 1 |
3 files changed, 21 insertions, 2 deletions
diff --git a/community/motion/PKGBUILD b/community/motion/PKGBUILD index c342bd7bf..6f29bd109 100644 --- a/community/motion/PKGBUILD +++ b/community/motion/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 73478 2012-07-08 09:30:42Z ibiru $ +# $Id: PKGBUILD 76588 2012-09-24 09:58:09Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=motion pkgver=3.2.12 -pkgrel=6 +pkgrel=7 pkgdesc="A software motion detector which grabs images from video4linux devices and/or from webcams" arch=('i686' 'x86_64' 'mips64el') license=('GPL') @@ -13,11 +13,15 @@ backup=('etc/motion/motion.conf') options=('!makeflags') source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz rc.motion + motion.service + motion.tmpfiles ffmpeg-0.8.patch linux-headers.patch ffmpeg-compat.patch) md5sums=('1ba0065ed50509aaffb171594c689f46' '2e8c53c4980edddd420f08fdd572c9be' + 'b5b589f8f39939b7a1802cbd9dbe2e1a' + 'f863f8c025f7f025b2178def8418decd' 'd36687710837d69fbce4608b1345fa34' 'd8c3c4fdded5cfbd729710475559a21d' 'e85c596292aceb425fcf17e5072e2fff') @@ -42,4 +46,6 @@ package(){ make DESTDIR="${pkgdir}" install mv "${pkgdir}/etc/motion/motion-dist.conf" "${pkgdir}/etc/motion/motion.conf" install -Dm755 "${srcdir}/rc.motion" "${pkgdir}/etc/rc.d/motion" + install -Dm644 "${srcdir}/motion.service" "${pkgdir}/usr/lib/systemd/system/motion.service" + install -Dm644 "${srcdir}/motion.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/motion.conf" } diff --git a/community/motion/motion.service b/community/motion/motion.service new file mode 100644 index 000000000..23aba29cd --- /dev/null +++ b/community/motion/motion.service @@ -0,0 +1,12 @@ +[Unit] +Description=Motion daemon +After=local-fs.target + +[Service] +ExecStart=/usr/bin/motion +Type=forking +#StandardOutput=null +StandardError=null + +[Install] +WantedBy=multi-user.target diff --git a/community/motion/motion.tmpfiles b/community/motion/motion.tmpfiles new file mode 100644 index 000000000..b558b66df --- /dev/null +++ b/community/motion/motion.tmpfiles @@ -0,0 +1 @@ +D /var/run/motion 0755 root root |