mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
x11-themes/nuvox: Port to EAPI 7
Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
23
x11-themes/nuvox/files/nuvox-07.1-fix-buildset.patch
Normal file
23
x11-themes/nuvox/files/nuvox-07.1-fix-buildset.patch
Normal file
@@ -0,0 +1,23 @@
|
||||
--- a/buildset
|
||||
+++ b/buildset
|
||||
@@ -157,7 +157,6 @@
|
||||
|
||||
|
||||
# Move/Remove the created directories so the user can rebuild if needed.
|
||||
-rm -fr 32x32/apps 32x32/devices 32x32/mimetypes 32x32/filesystems
|
||||
for size in $SIZES
|
||||
do
|
||||
if [ "$size" != "32x32" ]; then # Already did the 32x32 size above
|
||||
@@ -169,12 +168,10 @@
|
||||
echo -ne "Tarring and compressing.\n"
|
||||
if test -f $COMPRESSOR
|
||||
then
|
||||
- tar cf $PACKAGENAME.tar $PACKAGENAME && $COMPRESSOR $PACKAGENAME.tar
|
||||
echo -ne "\nThe $PACKAGENAME icon set has been built. Use kcontrol to install the icon set.\n"
|
||||
echo && ls -sh $PACKAGENAME.tar* && echo
|
||||
fi
|
||||
echo -ne "Removing all temporary directories...\n"
|
||||
-rm -fr $PACKAGENAME
|
||||
|
||||
echo -ne "\nAll done. ;)\n"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
EAPI=7
|
||||
|
||||
MY_P=nuvoX_${PV}
|
||||
|
||||
@@ -12,18 +12,13 @@ SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="virtual/imagemagick-tools[png]"
|
||||
|
||||
RESTRICT="strip binchecks"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
BDEPEND="virtual/imagemagick-tools[png]"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/rm -fr/d' -e '/tar cf/d' buildset || die
|
||||
}
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-07.1-fix-buildset.patch )
|
||||
|
||||
src_compile() {
|
||||
./buildset || die
|
||||
@@ -31,8 +26,8 @@ src_compile() {
|
||||
|
||||
src_install() {
|
||||
dodoc nuvoX_0.7/readme.txt
|
||||
rm nuvoX_0.7/{readme,license}.txt
|
||||
rm nuvoX_0.7/{readme,license}.txt || die
|
||||
|
||||
insinto /usr/share/icons/${PN}
|
||||
doins -r nuvoX_0.7/*
|
||||
doins -r nuvoX_0.7/.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user