summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2015-11-29 08:29:52 +0100
committerMartin Väth <martin@mvath.de>2015-11-29 08:29:52 +0100
commit08d759cd0d30319dad072e50db3a50f77be89acf (patch)
tree6de0b848ddfbf7abd05fb47b8bdd1c2edcdab701 /sys-block
parentapp-shells/zshrc-mv: Version bump (diff)
downloadmv-08d759cd0d30319dad072e50db3a50f77be89acf.tar.gz
mv-08d759cd0d30319dad072e50db3a50f77be89acf.tar.bz2
mv-08d759cd0d30319dad072e50db3a50f77be89acf.zip
Bump to EAPI=6
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/zram-init/Manifest2
-rw-r--r--sys-block/zram-init/zram-init-3.5.ebuild10
2 files changed, 8 insertions, 4 deletions
diff --git a/sys-block/zram-init/Manifest b/sys-block/zram-init/Manifest
index eb77275b..638ecfe5 100644
--- a/sys-block/zram-init/Manifest
+++ b/sys-block/zram-init/Manifest
@@ -1 +1 @@
-DIST zram-init-3.5.tar.gz 6088 SHA256 84b50e93fe0421ffa20581aa43de117968a4c5455b0023b3ff8a4cc27b97a8d0 SHA512 6628efd0df9a65284a23a3261d7d4f62d8ec7eb64e52d21bd7514bfb92814cf21a93661b7aca52e0653f5f750586c5e66d734ff98d1f9579aa18f0ef228d177b WHIRLPOOL a55e4968d989970f4912e1e33dda6d6e0cc5b99e47c705cc7055d457e62fd259998bec9eac40b8fa120872f61a0333cec0481b3f650f895b81406ff81a8d50f6
+DIST zram-init-3.5.tar.gz 6088 SHA256 84b50e93fe0421ffa20581aa43de117968a4c5455b0023b3ff8a4cc27b97a8d0
diff --git a/sys-block/zram-init/zram-init-3.5.ebuild b/sys-block/zram-init/zram-init-3.5.ebuild
index f5849676..17651ead 100644
--- a/sys-block/zram-init/zram-init-3.5.ebuild
+++ b/sys-block/zram-init/zram-init-3.5.ebuild
@@ -2,9 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
RESTRICT="mirror"
-inherit eutils readme.gentoo systemd
+inherit readme.gentoo systemd
DESCRIPTION="Scripts to support compressed swap devices or ramdisks with zram"
HOMEPAGE="https://github.com/vaeth/zram-init/"
@@ -27,7 +27,7 @@ src_prepare() {
use prefix || sed -i \
-e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}/bin/sh"'"' \
-- sbin/* || die
- epatch_user
+ eapply_user
}
src_install() {
@@ -41,3 +41,7 @@ src_install() {
doins zsh/*
readme.gentoo_create_doc
}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}