-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
+EAPI=6
DESCRIPTION="demerge - revert to previous installation states"
HOMEPAGE="http://download.mpsna.de/opensource/demerge/"
SRC_URI="http://download.mpsna.de/opensource/demerge/${P}.tar.gz"
RDEPEND="${DEPEND}
sys-apps/portage"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
# Fix path for new make.conf location
sed -i -e 's:/etc/make.conf:/etc/portage/make.conf:g' demerge
+ default
}
src_install() {
elog "If you wish for it to be automatically run at the end of every --sync simply chmod +x /etc/portage/postsync.d/demerge-record"
elog "If ever you find this to be an inconvenience simply chmod -x /etc/portage/postsync.d/demerge-record"
fi
+
}