-diff -ru gt5-1.4.0.orig/gt5 gt5-1.4.0/gt5
---- gt5-1.4.0.orig/gt5 2007-09-17 00:29:48.685233203 +0200
-+++ gt5-1.4.0/gt5 2007-09-17 00:29:55.684165472 +0200
+--- a/gt5 2007-09-17 00:29:48.685233203 +0200
++++ b/gt5 2007-09-17 00:29:55.684165472 +0200
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
---- /usr/bin/gt5.old 2011-01-10 23:01:29.778000092 +0100
-+++ /usr/bin/gt5 2011-01-10 23:01:16.577000089 +0100
+--- a/gt5 2011-01-10 23:01:29.778000092 +0100
++++ b/gt5 2011-01-10 23:01:16.577000089 +0100
@@ -261,7 +261,7 @@
#can du handle depths?
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=0
-
-inherit eutils
+EAPI=7
DESCRIPTION="a diff-capable 'du-browser'"
HOMEPAGE="http://gt5.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+KEYWORDS="amd64 ~sparc x86"
+
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~sparc x86"
IUSE=""
RDEPEND="|| ( www-client/links
www-client/elinks
www-client/lynx )"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${P}-bash-shabang.patch" \
- "${FILESDIR}/${P}-empty-dirs.patch"
-}
+PATCHES=(
+ "${FILESDIR}/${P}-bash-shabang.patch"
+ "${FILESDIR}/${P}-empty-dirs.patch"
+)
src_install() {
dobin gt5