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

Felix Yan felixonmars at archlinux.org
Thu Oct 27 10:47:47 UTC 2016


    Date: Thursday, October 27, 2016 @ 10:47:46
  Author: felixonmars
Revision: 193778

archrelease: copy trunk to community-testing-any

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

----------------------+
 PKGBUILD             |   51 ++++++++++++++++++++++---------------------------
 systemd-swap.install |   10 ++++-----
 2 files changed, 28 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-27 10:47:18 UTC (rev 193777)
+++ PKGBUILD	2016-10-27 10:47:46 UTC (rev 193778)
@@ -1,28 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Timofey Titovets <Nefelim4ag at gmail.com>
-
-pkgname=systemd-swap
-pkgver=3.1.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')
-conflicts=(systemd-loop-swapfile zramswap zram)
-depends=('systemd' 'bash')
-makedepends=('git')
-backup=(etc/systemd/swap.conf)
-install=$pkgname.install
-source=("git://github.com/Nefelim4ag/systemd-swap.git#tag=$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  # Upstream approach doesn't seem to work :/
-  sed -i 's_^PREFIX="/"$_PREFIX="$1"_' systemd-swap/install.sh
-}
-
-package() {
-  cd systemd-swap
-  ./install.sh "$pkgdir"
-}

Copied: systemd-swap/repos/community-testing-any/PKGBUILD (from rev 193777, systemd-swap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-27 10:47:46 UTC (rev 193778)
@@ -0,0 +1,23 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Timofey Titovets <Nefelim4ag at gmail.com>
+
+pkgname=systemd-swap
+pkgver=3.1.2
+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')
+conflicts=(systemd-loop-swapfile zramswap zram)
+depends=('systemd' 'bash')
+makedepends=('git')
+backup=(etc/systemd/swap.conf)
+install=$pkgname.install
+source=("git://github.com/Nefelim4ag/systemd-swap.git#tag=$pkgver")
+md5sums=('SKIP')
+
+package() {
+  cd systemd-swap
+  ./install.sh PREFIX="$pkgdir"
+}

Deleted: systemd-swap.install
===================================================================
--- systemd-swap.install	2016-10-27 10:47:18 UTC (rev 193777)
+++ systemd-swap.install	2016-10-27 10:47:46 UTC (rev 193778)
@@ -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-testing-any/systemd-swap.install (from rev 193777, systemd-swap/trunk/systemd-swap.install)
===================================================================
--- systemd-swap.install	                        (rev 0)
+++ systemd-swap.install	2016-10-27 10:47:46 UTC (rev 193778)
@@ -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