app-arch/deb2targz: EAPI7 bump
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Sun, 14 Apr 2019 14:27:32 +0000 (16:27 +0200)
committerAaron Bauman <bman@gentoo.org>
Thu, 25 Apr 2019 03:36:06 +0000 (23:36 -0400)
Closes: https://bugs.gentoo.org/683304
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11683
Signed-off-by: Aaron Bauman <bman@gentoo.org>
app-arch/deb2targz/deb2targz-1-r3.ebuild [new file with mode: 0644]
app-arch/deb2targz/files/deb2targz-any-data.patch

diff --git a/app-arch/deb2targz/deb2targz-1-r3.ebuild b/app-arch/deb2targz/deb2targz-1-r3.ebuild
new file mode 100644 (file)
index 0000000..ce36ff4
--- /dev/null
@@ -0,0 +1,25 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Convert a .deb file to a .tar.gz archive"
+HOMEPAGE="http://www.miketaylor.org.uk/tech/deb/"
+SRC_URI="http://www.miketaylor.org.uk/tech/deb/${PN}"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~amd64-linux ~arm ~hppa ~ia64 ~ppc ~ppc-aix ~ppc-macos ~ppc64 ~sparc ~sparc-solaris ~x86 ~x86-linux ~x86-macos ~x86-solaris"
+
+RDEPEND="dev-lang/perl"
+
+S=${WORKDIR}
+PATCHES=( "${FILESDIR}/${PN}-any-data.patch" )
+
+src_unpack() {
+       cp "${DISTDIR}/${PN}" "${S}" || die
+}
+
+src_install() {
+       dobin ${PN}
+}
index c8c42308ce1cc1a5c3a667bccb8df02660fd2f61..27712b2f837d680b71896119ebbbe6b6e5310cbb 100644 (file)
@@ -1,6 +1,6 @@
 Support any/all compression formats for data.tar
---- deb2targz
-+++ deb2targz
+--- a/deb2targz
++++ b/deb2targz
 @@ -47,10 +47,11 @@
        ($header, $data) = ($data =~ /(.*?)\n(.*)/s);
        my($name, $num1, $num2, $num3, $num4, $len) = split /\s+/, $header;