[arch-commits] Commit in systemd-swap/trunk (PKGBUILD)

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


    Date: Thursday, October 27, 2016 @ 10:47:18
  Author: felixonmars
Revision: 193777

upgpkg: systemd-swap 3.1.2-1

Modified:
  systemd-swap/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-27 10:45:44 UTC (rev 193776)
+++ PKGBUILD	2016-10-27 10:47:18 UTC (rev 193777)
@@ -3,7 +3,7 @@
 # Contributor: Timofey Titovets <Nefelim4ag at gmail.com>
 
 pkgname=systemd-swap
-pkgver=3.1.1
+pkgver=3.1.2
 pkgrel=1
 pkgdesc="Script for creating hybrid swap space from zram swaps, swap files and swap partitions."
 arch=('any')
@@ -17,12 +17,7 @@
 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"
+  ./install.sh PREFIX="$pkgdir"
 }



More information about the arch-commits mailing list