[arch-commits] Commit in systemd-swap/repos/community-any (4 files)

Felix Yan felixonmars at archlinux.org
Mon May 25 16:10:33 UTC 2020


    Date: Monday, May 25, 2020 @ 16:10:32
  Author: felixonmars
Revision: 634631

archrelease: copy trunk to community-any

Added:
  systemd-swap/repos/community-any/PKGBUILD
    (from rev 634630, systemd-swap/trunk/PKGBUILD)
  systemd-swap/repos/community-any/systemd-swap.install
    (from rev 634630, systemd-swap/trunk/systemd-swap.install)
Deleted:
  systemd-swap/repos/community-any/PKGBUILD
  systemd-swap/repos/community-any/systemd-swap.install

----------------------+
 PKGBUILD             |   49 ++++++++++++++++++++++++-------------------------
 systemd-swap.install |   10 +++++-----
 2 files changed, 29 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-25 16:10:09 UTC (rev 634630)
+++ PKGBUILD	2020-05-25 16:10:32 UTC (rev 634631)
@@ -1,25 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Timofey Titovets <Nefelim4ag at gmail.com>
-
-pkgname=systemd-swap
-pkgver=4.0.1
-pkgrel=1
-pkgdesc="Script for creating hybrid swap space from zram swaps, swap files and swap partitions."
-arch=('any')
-url="https://github.com/Nefelim4ag/systemd-swap"
-license=('GPL3')
-depends=('systemd' 'bash')
-backup=('etc/systemd/swap.conf')
-install="$pkgname.install"
-source=("$pkgname-$pkgver.tar.gz::https://github.com/Nefelim4ag/systemd-swap/archive/$pkgver.tar.gz")
-sha512sums=('c0ba9fa5a3d456376679fe8383550ae0fb26126d8b6c04d2d7d782911709e4c96c42b5a4db3d23b7e921881950d06cc81b60514055b27134106815595da97020')
-
-package() {
-  cd systemd-swap-$pkgver
-  make PREFIX="$pkgdir" install
-
-  install -dm755 "$pkgdir"/usr/lib
-  mv "$pkgdir"/lib/systemd "$pkgdir"/usr/lib/systemd
-  rmdir "$pkgdir"/lib
-}

Copied: systemd-swap/repos/community-any/PKGBUILD (from rev 634630, systemd-swap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-25 16:10:32 UTC (rev 634631)
@@ -0,0 +1,24 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Timofey Titovets <Nefelim4ag at gmail.com>
+
+pkgname=systemd-swap
+pkgver=4.0.1
+pkgrel=2
+pkgdesc="Script for creating hybrid swap space from zram swaps, swap files and swap partitions."
+arch=('any')
+url="https://github.com/Nefelim4ag/systemd-swap"
+license=('GPL3')
+depends=('systemd' 'bash')
+backup=('etc/systemd/swap.conf')
+install="$pkgname.install"
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Nefelim4ag/systemd-swap/archive/$pkgver.tar.gz")
+sha512sums=('c0ba9fa5a3d456376679fe8383550ae0fb26126d8b6c04d2d7d782911709e4c96c42b5a4db3d23b7e921881950d06cc81b60514055b27134106815595da97020')
+
+package() {
+  cd systemd-swap-$pkgver
+  make PREFIX="$pkgdir" install
+
+  install -dm755 "$pkgdir"/usr/lib
+  mv "$pkgdir"/lib/systemd "$pkgdir"/usr/lib/systemd
+  rmdir "$pkgdir"/lib
+}

Deleted: systemd-swap.install
===================================================================
--- systemd-swap.install	2020-05-25 16:10:09 UTC (rev 634630)
+++ systemd-swap.install	2020-05-25 16:10:32 UTC (rev 634631)
@@ -1,5 +0,0 @@
-post_upgrade() {
-  if [[ $(vercmp "$2" 3) < 0 ]]; then
-    echo "Since 3.0, the config file was moved to /etc/systemd/swap.conf, and incompatible with the old syntax. Please adjust your settings accordingly."
-  fi
-}

Copied: systemd-swap/repos/community-any/systemd-swap.install (from rev 634630, systemd-swap/trunk/systemd-swap.install)
===================================================================
--- systemd-swap.install	                        (rev 0)
+++ systemd-swap.install	2020-05-25 16:10:32 UTC (rev 634631)
@@ -0,0 +1,5 @@
+post_upgrade() {
+  if [[ $(vercmp "$2" 3) < 0 ]]; then
+    echo "Since 3.0, the config file was moved to /etc/systemd/swap.conf, and incompatible with the old syntax. Please adjust your settings accordingly."
+  fi
+}



More information about the arch-commits mailing list