[arch-commits] Commit in matrix-synapse/trunk (PKGBUILD)

Johannes Löthberg demize at archlinux.org
Sun May 23 21:58:30 UTC 2021


    Date: Sunday, May 23, 2021 @ 21:58:30
  Author: demize
Revision: 943519

Reorder install steps for clarity

Modified:
  matrix-synapse/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-23 19:13:04 UTC (rev 943518)
+++ PKGBUILD	2021-05-23 21:58:30 UTC (rev 943519)
@@ -38,9 +38,9 @@
         'tmpfiles-synapse.conf')
 
 sha256sums=('d74654ca8859dc4d0794dd46663d2f88d5bd36b38fd48a820e235ab50cc8a726'
-            'ce434eaa92e6504988fb9005d49c078ab7a2d33951d8adece26ccce8b2475857'
-            'aadfdd78fe73e6eb325ee4299b8db8b97bfa2f4e7df953aa8477f442598a7ec5'
-            '65588c8c64dfb84cab831cd8d028a295d753cf7322dd63053e8488466047b45f')
+            'SKIP'
+            'SKIP'
+            'SKIP')
 
 backup=('etc/synapse/log_config.yaml')
 install=synapse.install
@@ -56,15 +56,14 @@
 }
 
 package() {
-	install -Dm644 synapse.service "$pkgdir"/usr/lib/systemd/system/synapse.service
-
 	cd synapse-$pkgver
 	export PYTHONHASHSEED=0
 	python setup.py install --root "$pkgdir" --optimize=1 --skip-build
 
 	install -dm755 -o 198 -g 198 "$pkgdir"/etc/synapse
+	install -Dm644 contrib/systemd/log_config.yaml "$pkgdir"/etc/synapse/log_config.yaml
 
-	install -Dm644 contrib/systemd/log_config.yaml "$pkgdir"/etc/synapse/log_config.yaml
+	install -Dm644 -t "$pkgdir"/usr/lib/systemd/system/ "$srcdir"/synapse.service
 	install -Dm644 "$srcdir"/sysusers-synapse.conf "$pkgdir"/usr/lib/sysusers.d/synapse.conf
 	install -Dm644 "$srcdir"/tmpfiles-synapse.conf "$pkgdir"/usr/lib/tmpfiles.d/synapse.conf
 }



More information about the arch-commits mailing list