[arch-commits] Commit in anything-sync-daemon/repos/community-any (4 files)
David Runge
dvzrv at gemini.archlinux.org
Mon Apr 4 09:53:40 UTC 2022
Date: Monday, April 4, 2022 @ 09:53:39
Author: dvzrv
Revision: 1181250
archrelease: copy trunk to community-any
Added:
anything-sync-daemon/repos/community-any/PKGBUILD
(from rev 1181249, anything-sync-daemon/trunk/PKGBUILD)
anything-sync-daemon/repos/community-any/anything-sync-daemon.install
(from rev 1181249, 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 | 60 ++++++++++++++++++++---------------------
anything-sync-daemon.install | 54 ++++++++++++++++++------------------
2 files changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-04 09:53:30 UTC (rev 1181249)
+++ PKGBUILD 2022-04-04 09:53:39 UTC (rev 1181250)
@@ -1,30 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: graysky <graysky AT archlinux DOT us>
-
-pkgname=anything-sync-daemon
-pkgver=5.86
-pkgrel=1
-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=('1554dd382ebc2aa6887908d8165378aeaaa768dbd6412e97fc0a095020fcefd17fad973b771880d959e8f6a7856adfb905d3401d0b9eba0b3beebb1482521c8d')
-b2sums=('f773c4d779c15c49f78fb659084dfdc0988be05f9dbf898b1a11b18a8b414df84b5645c0f299320194e6aa07100deaef7fbaa0c0453eb291108db50114ed1b61')
-
-build() {
- cd "$pkgname-$pkgver"
- make
-}
-
-package() {
- cd "$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install-systemd-all
- install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
- install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
-}
Copied: anything-sync-daemon/repos/community-any/PKGBUILD (from rev 1181249, anything-sync-daemon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-04 09:53:39 UTC (rev 1181250)
@@ -0,0 +1,30 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: graysky <graysky AT archlinux DOT us>
+
+pkgname=anything-sync-daemon
+pkgver=6.0.0
+pkgrel=1
+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 pv rsync systemd tar zstd)
+optdepends=(
+ 'bash-completion: for completion when using bash'
+ 'zsh-completions: for completion when using zsh'
+)
+install=$pkgname.install
+backup=(etc/asd.conf)
+source=($pkgname-$pkgver.tar.gz::https://github.com/graysky2/$pkgname/archive/v$pkgver.tar.gz)
+sha512sums=('4161d6b6103a81fa3df4ef9ed054bd6831205624a8327e30b103d49cf0431de78fedc812004405dbecba0867df4b0be35fc70ae274931ad2592a3b7c32f93d77')
+b2sums=('462c4f381d10ff669ddec6081a4c98d4b972373d96004d32413e6f4c36fa7d0fc2e421255e3941fc85fe01cab3cf61c17c5fcd36e0cc43db5ae1c7dad137fd91')
+
+build() {
+ make -C $pkgname-$pkgver
+}
+
+package() {
+ make DESTDIR="$pkgdir/" install-systemd-all -C $pkgname-$pkgver
+ install -vDm 644 $pkgname-$pkgver/LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+ install -vDm 644 $pkgname-$pkgver/README.md -t "$pkgdir/usr/share/doc/$pkgname/"
+}
Deleted: anything-sync-daemon.install
===================================================================
--- anything-sync-daemon.install 2022-04-04 09:53:30 UTC (rev 1181249)
+++ anything-sync-daemon.install 2022-04-04 09:53:39 UTC (rev 1181250)
@@ -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 1181249, anything-sync-daemon/trunk/anything-sync-daemon.install)
===================================================================
--- anything-sync-daemon.install (rev 0)
+++ anything-sync-daemon.install 2022-04-04 09:53:39 UTC (rev 1181250)
@@ -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