[arch-commits] Commit in motion/repos (5 files)

Felix Yan felixonmars at archlinux.org
Sun Jul 7 01:55:15 UTC 2019


    Date: Sunday, July 7, 2019 @ 01:55:15
  Author: felixonmars
Revision: 487555

archrelease: copy trunk to community-x86_64

Added:
  motion/repos/community-x86_64/
  motion/repos/community-x86_64/PKGBUILD
    (from rev 487554, motion/trunk/PKGBUILD)
  motion/repos/community-x86_64/motion.service
    (from rev 487554, motion/trunk/motion.service)
  motion/repos/community-x86_64/motion.sysusers
    (from rev 487554, motion/trunk/motion.sysusers)
  motion/repos/community-x86_64/motion.tmpfiles
    (from rev 487554, motion/trunk/motion.tmpfiles)

-----------------+
 PKGBUILD        |   44 ++++++++++++++++++++++++++++++++++++++++++++
 motion.service  |   12 ++++++++++++
 motion.sysusers |    2 ++
 motion.tmpfiles |    1 +
 4 files changed, 59 insertions(+)

Copied: motion/repos/community-x86_64/PKGBUILD (from rev 487554, motion/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-07-07 01:55:15 UTC (rev 487555)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: mrxx <mrxx at cyberhome dot at>
+# Contributor: Evgeny Kurnevsky <kurnevsky at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=motion
+pkgver=4.2.2
+pkgrel=1
+pkgdesc="Monitor and record video signals from many types of cameras"
+arch=('x86_64')
+license=('GPL')
+url="https://motion-project.github.io"
+depends=('sqlite' 'ffmpeg' 'libmicrohttpd' 'libwebp')
+optdepends=('gettext: native language support')
+backup=('etc/motion/motion.conf')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Motion-Project/motion/archive/release-$pkgver.tar.gz"
+        'motion.service'
+        'motion.sysusers'
+        'motion.tmpfiles')
+sha256sums=('c8d40976b41da8eb9f9f7128599403a312fc26b7226bf3787d75f78cb5a6cc6e'
+            'a78dba35414f4d7147cc2c622eecdb3df249978023cbea5c6bc420c34ca387e7'
+            '353fe3c2ee0afb7dafe1c6b7d1ac5655449dab836ab387cf335b4bd1dd37bf27'
+            'b34eaf6b085a25ef310102f892d0909247f1acb9d6a75cc9faca85e1ef076a1c')
+
+build() {
+  cd $pkgname-release-$pkgver
+  autoreconf
+  ./configure --prefix=/usr \
+    --without-pgsql \
+    --without-mysql \
+    --sysconfdir=/etc \
+    --with-ffmpeg \
+    --with-webp
+  make
+}
+
+package(){
+  cd $pkgname-release-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 motion-dist.conf "$pkgdir"/etc/motion/motion.conf
+  install -Dm644 "$srcdir"/motion.service "$pkgdir"/usr/lib/systemd/system/motion.service
+  install -Dm644 "$srcdir"/motion.sysusers "$pkgdir"/usr/lib/sysusers.d/motion.conf
+  install -Dm644 "$srcdir"/motion.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/motion.conf
+}

Copied: motion/repos/community-x86_64/motion.service (from rev 487554, motion/trunk/motion.service)
===================================================================
--- community-x86_64/motion.service	                        (rev 0)
+++ community-x86_64/motion.service	2019-07-07 01:55:15 UTC (rev 487555)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Motion daemon
+After=local-fs.target network.target
+
+[Service]
+User=motion
+ExecStart=/usr/bin/motion -n
+Type=simple
+StandardError=null
+
+[Install]
+WantedBy=multi-user.target

Copied: motion/repos/community-x86_64/motion.sysusers (from rev 487554, motion/trunk/motion.sysusers)
===================================================================
--- community-x86_64/motion.sysusers	                        (rev 0)
+++ community-x86_64/motion.sysusers	2019-07-07 01:55:15 UTC (rev 487555)
@@ -0,0 +1,2 @@
+u motion - - /var/lib/motion
+m motion video

Copied: motion/repos/community-x86_64/motion.tmpfiles (from rev 487554, motion/trunk/motion.tmpfiles)
===================================================================
--- community-x86_64/motion.tmpfiles	                        (rev 0)
+++ community-x86_64/motion.tmpfiles	2019-07-07 01:55:15 UTC (rev 487555)
@@ -0,0 +1 @@
+d /var/lib/motion 0700 motion motion - -



More information about the arch-commits mailing list