Date: Monday, June 1, 2020 @ 01:16:04
  Author: felixonmars
Revision: 637793

archrelease: copy trunk to community-testing-x86_64

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

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

Copied: motion/repos/community-testing-x86_64/PKGBUILD (from rev 637792, 
motion/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2020-06-01 01:16:04 UTC (rev 637793)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: mrxx <mrxx at cyberhome dot at>
+# Contributor: Evgeny Kurnevsky <[email protected]>
+# Contributor: Sergej Pupykin <[email protected]>
+
+pkgname=motion
+pkgver=4.3.1
+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' 'mariadb-libs')
+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')
+sha512sums=('17033dab055c4f1d9e2912a27d0a5b419d325b0781def98428a6117e38c62201b87199210071ba93d6c4dae514733b749e39cbc1befe6242f157d4583e07dcc6'
+            
'817590421b313f468b0ecc783048affa2a97e82701c6c18ab14b0215a5ed66bd5e66fe584441f161cdea334323e998151a255ebb615f15d5118bc6981876f273'
+            
'6223040c71d5d8e1a67ad99276342cb43549554191fba6492803f6d7069ea87afd378fec7a4c5332821a366d5a669fbd21f2aa16bb8911eabb45f44a18a65de5'
+            
'cae88686417c31984c56d0df6625fb4ee62c2910d7f45b0e46dc1de6775b1a7b5463efc3ad1299e44746317332100c6afb6526b68fa6abea23e86b62d897460b')
+
+build() {
+  cd $pkgname-release-$pkgver
+  autoreconf -fi
+  ./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 data/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-testing-x86_64/motion.service (from rev 637792, 
motion/trunk/motion.service)
===================================================================
--- community-testing-x86_64/motion.service                             (rev 0)
+++ community-testing-x86_64/motion.service     2020-06-01 01:16:04 UTC (rev 
637793)
@@ -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-testing-x86_64/motion.sysusers (from rev 637792, 
motion/trunk/motion.sysusers)
===================================================================
--- community-testing-x86_64/motion.sysusers                            (rev 0)
+++ community-testing-x86_64/motion.sysusers    2020-06-01 01:16:04 UTC (rev 
637793)
@@ -0,0 +1,2 @@
+u motion - - /var/lib/motion
+m motion video

Copied: motion/repos/community-testing-x86_64/motion.tmpfiles (from rev 637792, 
motion/trunk/motion.tmpfiles)
===================================================================
--- community-testing-x86_64/motion.tmpfiles                            (rev 0)
+++ community-testing-x86_64/motion.tmpfiles    2020-06-01 01:16:04 UTC (rev 
637793)
@@ -0,0 +1 @@
+d /var/lib/motion 0700 motion motion - -

Reply via email to