summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2018-02-22 23:53:58 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2018-02-22 23:54:15 +0100
commit515b2e39c12141f3ab943741a25e0f321ed56c27 (patch)
tree6d5f9cd297cb8e775f6e7a4fa9e730981ef51db8 /x11-plugins/asclock
parentsys-apps/nix: bump up to 2.0 (diff)
downloadgentoo-515b2e39c12141f3ab943741a25e0f321ed56c27.tar.gz
gentoo-515b2e39c12141f3ab943741a25e0f321ed56c27.tar.bz2
gentoo-515b2e39c12141f3ab943741a25e0f321ed56c27.zip
x11-plugins/asclock: EAPI bump
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'x11-plugins/asclock')
-rw-r--r--x11-plugins/asclock/asclock-2.0.12-r2.ebuild (renamed from x11-plugins/asclock/asclock-2.0.12-r1.ebuild)15
1 files changed, 9 insertions, 6 deletions
diff --git a/x11-plugins/asclock/asclock-2.0.12-r1.ebuild b/x11-plugins/asclock/asclock-2.0.12-r2.ebuild
index eb6bcd3414b2..e7b14ca2e97a 100644
--- a/x11-plugins/asclock/asclock-2.0.12-r1.ebuild
+++ b/x11-plugins/asclock/asclock-2.0.12-r2.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=3
+EAPI=6
+
inherit eutils toolchain-funcs
IUSE=""
@@ -17,8 +18,10 @@ RDEPEND="${DEPEND}
x11-proto/xextproto
x11-proto/xproto"
+PATCHES=( "${FILESDIR}"/${PN}-gcc41.patch )
+
src_prepare() {
- epatch "${FILESDIR}"/${PN}-gcc41.patch
+ default
ln -s themes/classic default_theme
}
@@ -58,7 +61,7 @@ src_install() {
insinto ${themesdir}
doins -r themes/*
dodoc README README.THEMES TODO
- cd "${D}"/${themesdir}
- rm -f Freeamp/Makefile{,.*}
- ln -s classic default_theme
+ cd "${D}"/${themesdir} || die
+ rm -f Freeamp/Makefile{,.*} || die
+ ln -s classic default_theme || die
}