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

Felix Yan felixonmars at archlinux.org
Mon Mar 13 09:24:57 UTC 2017


    Date: Monday, March 13, 2017 @ 09:24:56
  Author: felixonmars
Revision: 216062

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-13 09:24:39 UTC (rev 216061)
+++ PKGBUILD	2017-03-13 09:24:56 UTC (rev 216062)
@@ -1,23 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Timofey Titovets <Nefelim4ag at gmail.com>
-
-pkgname=systemd-swap
-pkgver=3.2.0
-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"
-}

Copied: systemd-swap/repos/community-any/PKGBUILD (from rev 216061, systemd-swap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-03-13 09:24:56 UTC (rev 216062)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Timofey Titovets <Nefelim4ag at gmail.com>
+
+pkgname=systemd-swap
+pkgver=3.3.0
+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
+  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	2017-03-13 09:24:39 UTC (rev 216061)
+++ systemd-swap.install	2017-03-13 09:24:56 UTC (rev 216062)
@@ -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 216061, systemd-swap/trunk/systemd-swap.install)
===================================================================
--- systemd-swap.install	                        (rev 0)
+++ systemd-swap.install	2017-03-13 09:24:56 UTC (rev 216062)
@@ -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