[arch-commits] Commit in snap-sync/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Jul 7 20:33:38 UTC 2020


    Date: Tuesday, July 7, 2020 @ 20:33:37
  Author: foutrelis
Revision: 660241

archrelease: copy trunk to community-staging-any

Added:
  snap-sync/repos/community-staging-any/
  snap-sync/repos/community-staging-any/PKGBUILD
    (from rev 660240, snap-sync/trunk/PKGBUILD)
  snap-sync/repos/community-staging-any/snap-sync.install
    (from rev 660240, snap-sync/trunk/snap-sync.install)

-------------------+
 PKGBUILD          |   24 ++++++++++++++++++++++++
 snap-sync.install |   17 +++++++++++++++++
 2 files changed, 41 insertions(+)

Copied: snap-sync/repos/community-staging-any/PKGBUILD (from rev 660240, snap-sync/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 20:33:37 UTC (rev 660241)
@@ -0,0 +1,24 @@
+# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
+# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
+# Contributor: Wes Barnett <wes at wbarnett dot us>
+pkgname=snap-sync
+pkgver=0.6.1
+pkgrel=2
+pkgdesc="Use snapper snapshots to backup to external drive"
+arch=(any)
+url="https://github.com/wesbarnett/snap-sync"
+license=('GPL2')
+depends=(snapper libnotify)
+install='snap-sync.install'
+source=("${url}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.sig}
+        'snap-sync.install')
+validpgpkeys=('8535CEF3F3C38EE69555BF67E4B5E45AA3B8C5C3'  # old key
+              'F7B28C61944FE30DABEEB0B01070BCC98C18BD66') # new ecc key
+sha512sums=('99ba7c1e9c075bf78103d6398cee5988c5f6437248f06ce05a4cab78e8e1c737461bd9a6948105087ec3beb9192b00004dde8952a99352f78ff1f1da753f12e5'
+            'SKIP'
+            '39b4e05794657b880a81d8060f34a6a703db8169b68963aa1cc32e428a7a593b2d65dc6eb1f3fe37b7a0f2967c02113d1368b5d090341ed3856871d141013590')
+
+package() {
+    cd "${pkgname}"
+    make SNAPPER_CONFIG=/etc/conf.d/snapper DESTDIR="${pkgdir}" install
+}

Copied: snap-sync/repos/community-staging-any/snap-sync.install (from rev 660240, snap-sync/trunk/snap-sync.install)
===================================================================
--- community-staging-any/snap-sync.install	                        (rev 0)
+++ community-staging-any/snap-sync.install	2020-07-07 20:33:37 UTC (rev 660241)
@@ -0,0 +1,17 @@
+_0.5_1_changes() {
+  echo ":: snap-sync added a subvolume id to its snapper snapshots with v5.0."
+  echo "   Please checkout the migration guide to update your snapper snapshots:"
+  echo "   https://github.com/wesbarnett/snap-sync/releases/tag/0.5"
+}
+
+post_upgrade() {
+    local v upgrades=(
+      0.5-1
+    )
+
+    for v in "${upgrades[@]}"; do
+      if [[ $(vercmp "$v" "$2") -eq 1 ]]; then
+        "_${v//-/_}_changes"
+      fi
+    done
+}


More information about the arch-commits mailing list