[arch-commits] Commit in anything-sync-daemon/repos/community-any (4 files)

David Runge dvzrv at archlinux.org
Sat Feb 15 10:17:24 UTC 2020


    Date: Saturday, February 15, 2020 @ 10:17:23
  Author: dvzrv
Revision: 571429

archrelease: copy trunk to community-any

Added:
  anything-sync-daemon/repos/community-any/PKGBUILD
    (from rev 571428, anything-sync-daemon/trunk/PKGBUILD)
  anything-sync-daemon/repos/community-any/anything-sync-daemon.install
    (from rev 571428, anything-sync-daemon/trunk/anything-sync-daemon.install)
Deleted:
  anything-sync-daemon/repos/community-any/PKGBUILD
  anything-sync-daemon/repos/community-any/anything-sync-daemon.install

------------------------------+
 PKGBUILD                     |   57 ++++++++++++++++++++---------------------
 anything-sync-daemon.install |   54 +++++++++++++++++++-------------------
 2 files changed, 56 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-15 10:17:17 UTC (rev 571428)
+++ PKGBUILD	2020-02-15 10:17:23 UTC (rev 571429)
@@ -1,28 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: graysky <graysky AT archlinux DOT us>
-
-pkgname=anything-sync-daemon
-pkgver=5.85
-pkgrel=2
-pkgdesc="Symlinks and syncs user specified dirs to RAM"
-arch=('any')
-url="https://github.com/graysky2/anything-sync-daemon"
-license=('MIT')
-depends=('bash' 'findutils' 'procps-ng' 'rsync' 'systemd')
-optdepends=('bash-completion: for completion when using bash'
-            'zsh-completions: for completion when using zhs')
-install="${pkgname}.install"
-source=("$pkgname-$pkgver.tar.gz::https://github.com/graysky2/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('85b2d7458efe4686bf3564ad9242bac7b17080f4504ca89ea32102d34a730424ea209ec88bdbfca4c16964fe4840c2e33c8600edda46dc9f164c5be022eb9445')
-
-build() {
-  cd "$pkgname-$pkgver"
-  make
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" install-systemd-all
-  install -vDm 644 MIT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: anything-sync-daemon/repos/community-any/PKGBUILD (from rev 571428, anything-sync-daemon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-15 10:17:23 UTC (rev 571429)
@@ -0,0 +1,29 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: graysky <graysky AT archlinux DOT us>
+
+pkgname=anything-sync-daemon
+pkgver=5.85
+pkgrel=3
+pkgdesc="Symlinks and syncs user specified dirs to RAM"
+arch=('any')
+url="https://github.com/graysky2/anything-sync-daemon"
+license=('MIT')
+depends=('bash' 'findutils' 'procps-ng' 'rsync' 'systemd')
+optdepends=('bash-completion: for completion when using bash'
+            'zsh-completions: for completion when using zhs')
+install="${pkgname}.install"
+backup=('etc/asd.conf')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/graysky2/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('85b2d7458efe4686bf3564ad9242bac7b17080f4504ca89ea32102d34a730424ea209ec88bdbfca4c16964fe4840c2e33c8600edda46dc9f164c5be022eb9445')
+
+build() {
+  cd "$pkgname-$pkgver"
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir/" install-systemd-all
+  install -vDm 644 MIT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}

Deleted: anything-sync-daemon.install
===================================================================
--- anything-sync-daemon.install	2020-02-15 10:17:17 UTC (rev 571428)
+++ anything-sync-daemon.install	2020-02-15 10:17:23 UTC (rev 571429)
@@ -1,27 +0,0 @@
-## arg 1:  the new package version
-## arg 2:  the old package version
-# shellcheck disable=SC2016
-
-_stop_asd_service() {
-  if systemctl is-active asd.service &>/dev/null; then
-    echo 'In order to preserve the data, the asd service will now be stopped.'
-    systemctl stop asd.service &>/dev/null
-  fi
-}
-
-pre_upgrade() {
-  for version in 5.69 5.76; do
-    if [ "$(vercmp "$2" "$version")" -lt 0 ]; then
-      _stop_asd_service
-      echo 'Start the asd service manually after upgrade is complete.'
-    fi
-  done
-}
-
-post_install() {
-  echo 'Consult the manpage (`man 1 asd`) and backup your data before use.'
-}
-
-pre_remove() {
-  _stop_asd_service
-}

Copied: anything-sync-daemon/repos/community-any/anything-sync-daemon.install (from rev 571428, anything-sync-daemon/trunk/anything-sync-daemon.install)
===================================================================
--- anything-sync-daemon.install	                        (rev 0)
+++ anything-sync-daemon.install	2020-02-15 10:17:23 UTC (rev 571429)
@@ -0,0 +1,27 @@
+## arg 1:  the new package version
+## arg 2:  the old package version
+# shellcheck disable=SC2016
+
+_stop_asd_service() {
+  if systemctl is-active asd.service &>/dev/null; then
+    echo 'In order to preserve the data, the asd service will now be stopped.'
+    systemctl stop asd.service &>/dev/null
+  fi
+}
+
+pre_upgrade() {
+  for version in 5.69 5.76; do
+    if [ "$(vercmp "$2" "$version")" -lt 0 ]; then
+      _stop_asd_service
+      echo 'Start the asd service manually after upgrade is complete.'
+    fi
+  done
+}
+
+post_install() {
+  echo 'Consult the manpage (`man 1 asd`) and backup your data before use.'
+}
+
+pre_remove() {
+  _stop_asd_service
+}



More information about the arch-commits mailing list