--- /dev/null
+--- 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"
+
-# 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}
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
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/.
}