x11-themes/gtk-engines-rezlooks: Proper EAPI 7 port
authorDavid Seifert <soap@gentoo.org>
Sat, 8 Feb 2020 16:16:57 +0000 (17:16 +0100)
committerDavid Seifert <soap@gentoo.org>
Sat, 8 Feb 2020 16:16:57 +0000 (17:16 +0100)
Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
x11-themes/gtk-engines-rezlooks/gtk-engines-rezlooks-0.6-r1.ebuild

index 445122e83828e82bbb34450bd2423ed3a0b1107c..4886633ce53007b31c7001080f0cc972f53986ef 100644 (file)
@@ -1,28 +1,25 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit autotools
 
 DESCRIPTION="Rezlooks GTK+ Engine"
 HOMEPAGE="https://www.gnome-look.org/content/show.php?content=39179"
-SRC_URI="https://www.gnome-look.org/content/files/39179-rezlooks-0.6.tar.gz"
+SRC_URI="https://www.gnome-look.org/content/files/39179-rezlooks-${PV}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 
-RDEPEND="
-       >=x11-libs/gtk+-2.8:2
-"
-DEPEND="
-       ${RDEPEND}
-       virtual/pkgconfig
-"
-PATCHES=(
-       "${FILESDIR}"/${PN}-0.6-glib-single-include.patch
-)
-S=${WORKDIR}/rezlooks-${PV}
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}"/rezlooks-${PV}
+
+PATCHES=( "${FILESDIR}"/${PN}-0.6-glib-single-include.patch )
 
 src_prepare() {
        default
@@ -41,5 +38,5 @@ src_configure() {
 
 src_install() {
        default
-       find "${D}" -name '*.la' -exec rm -f {} + || die
+       find "${D}" -name '*.la' -delete || die
 }