summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2019-04-14 16:27:32 +0200
committerAaron Bauman <bman@gentoo.org>2019-04-24 23:36:06 -0400
commit2d6101dc65162a7510f4684d3f9138bdf125c2b0 (patch)
tree1f12eb5ec5d2f35b7c57000abeedf6cf62374976 /app-arch/deb2targz
parentx11-misc/xdotool: use HTTPS (diff)
downloadgentoo-2d6101dc65162a7510f4684d3f9138bdf125c2b0.tar.gz
gentoo-2d6101dc65162a7510f4684d3f9138bdf125c2b0.tar.bz2
gentoo-2d6101dc65162a7510f4684d3f9138bdf125c2b0.zip
app-arch/deb2targz: EAPI7 bump
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>
Diffstat (limited to 'app-arch/deb2targz')
-rw-r--r--app-arch/deb2targz/deb2targz-1-r3.ebuild25
-rw-r--r--app-arch/deb2targz/files/deb2targz-any-data.patch4
2 files changed, 27 insertions, 2 deletions
diff --git a/app-arch/deb2targz/deb2targz-1-r3.ebuild b/app-arch/deb2targz/deb2targz-1-r3.ebuild
new file mode 100644
index 000000000000..ce36ff46f149
--- /dev/null
+++ b/app-arch/deb2targz/deb2targz-1-r3.ebuild
@@ -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}
+}
diff --git a/app-arch/deb2targz/files/deb2targz-any-data.patch b/app-arch/deb2targz/files/deb2targz-any-data.patch
index c8c42308ce1c..27712b2f837d 100644
--- a/app-arch/deb2targz/files/deb2targz-any-data.patch
+++ b/app-arch/deb2targz/files/deb2targz-any-data.patch
@@ -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;