diff options
Diffstat (limited to 'app-arch/unp')
-rw-r--r-- | app-arch/unp/Manifest | 9 | ||||
-rw-r--r-- | app-arch/unp/files/unp-2.0_pre7_p1-remove-deprecated-have.diff | 10 | ||||
-rw-r--r-- | app-arch/unp/metadata.xml | 5 | ||||
-rw-r--r-- | app-arch/unp/unp-2.0_pre7.ebuild | 41 | ||||
-rw-r--r-- | app-arch/unp/unp-2.0_pre7_p1-r1.ebuild | 52 | ||||
-rw-r--r-- | app-arch/unp/unp-2.0_pre7_p1.ebuild | 47 |
6 files changed, 164 insertions, 0 deletions
diff --git a/app-arch/unp/Manifest b/app-arch/unp/Manifest new file mode 100644 index 000000000000..618d984f7e12 --- /dev/null +++ b/app-arch/unp/Manifest @@ -0,0 +1,9 @@ +AUX unp-2.0_pre7_p1-remove-deprecated-have.diff 339 SHA256 691af0548264b7e77ff9b9aa6b5bda2ec28542c426e7a00cf482848d05c0786f SHA512 c5e683398572889e4c09d3dfccf8847566421be5e3a56d086217ebbb70c17c4ca23c124cfe5d146e7e5b71e0ecce914575c1c50bdbc8438d3f00a6282790edca WHIRLPOOL 86b0564331f61aca671ac28470d737e69a95da9d61b5e8f0fccc63d4d1b202996e63d0051aa50285548cc33ba9613f71c79cf412b4a87314a9a5cf16952e4d0e +DIST unp_2.0~pre7+nmu1.tar.bz2 17537 SHA256 7c2d6f2835a5a59ee2588b66d8015d97accd62e71e38ba90ebd4d71d8fd78227 SHA512 1b30f14c8d17e0a6b149ca4795f2219e9180f814347410e7ff7fa2b9720a9d308190f2ded8fcfd11bac9b5bb7a64ffd93f140bdaffcba1127f0e15e3d2737362 WHIRLPOOL 28fcec4dd271f952bac9313e5f4bff8fc244361831dc7829a5746d0af26c89586744d158a79808c02f3be9b41240b5eb082cfe11cf151e38ac8fd962e72af8bb +DIST unp_2.0~pre7.tar.bz2 14492 SHA256 dddf23bf81444a876d4dba67c25c934e077f290499ada531ef70a930aa8fd6a7 SHA512 b90238a3e359d45e4b0ec3e5559a682fce3a7a37f74dd5419b005bb7bd3e3e5be03dde2e5d40d1671c0274ff1d795560fa238a572fe6cf3ab12f17dd1e2bcd1d WHIRLPOOL 21b1c7ded3b861739cd5e94d858e98b3ec785c777cd924c41599a36735824faebf845ec40a0bb206c1573aa20f0afb240e0356e4ab25a6547a29905c127217c7 +EBUILD unp-2.0_pre7.ebuild 907 SHA256 7e614f67e72b86f277d5b1d6ce252c9f721f7c8f528ef24ad405d334058e754b SHA512 22c61e13cefc72e3b048bd1a9d4cf1736c1970f3896eb5a801df93e0da48d6d54faa17e4ff1879e63cc4e3a7e69e44e3519f0ba5f90bf14ec70cac85525c0d7b WHIRLPOOL 328703d5da8fabf18bf63d5e2b5654a92d0632a446fabb6ccb565acb64082c6edbd4d84798f763195c8523add666af36e1d1334cad905ac377a4631bf975325a +EBUILD unp-2.0_pre7_p1-r1.ebuild 1232 SHA256 25054f5189acaf953d7f479dbdbe5f86ff9f20610260fca1e6d83884e73e67ba SHA512 787b6750fa1b67b5462e40b3499b0aae9d2dac9706c96804a20a645266beb9c56f468a5ef53635f7736350131d8e498342f4aa1ff890c65fcf5a1859aa1d4aeb WHIRLPOOL c1e5f477dc0a68656ee78a5915e1c3e1092758d0f3ffec4f84ba04f4a6a5a1ee2e49d506634e6a5cf3f2b245b0495e6b644fa409d40ce08bb9d65df29d10ee64 +EBUILD unp-2.0_pre7_p1.ebuild 1028 SHA256 2a590b2e09df49e8d7c64d997b692190eaa85099963fa2136496ea40e748ddc0 SHA512 5095690f96dbc6a3fe47bf550863ee3b795b14ed9b9e6f3594ea5ae7ac2ef93774f0d30277a9eb2f0e9ba53ca0ca9e4c481dd462cd5de52fb178d3156af02901 WHIRLPOOL a172a560bd98e25432fd05fe49c745c8a1ae9479377aed9e5bd5779ccee48a2ac1d101123430c3995700b446975d37e0ff4fede488e666337e55abe4400d35f0 +MISC ChangeLog 2920 SHA256 1980e0f523a41297417080712fd389072039d95800abc6ac3e199f9d1cce9fb9 SHA512 3c5245f9e323330751469d70a89b994a9101ae960064c42ea7becbd89ad06e7a8580386b6f690ddc5c028e14af618ffa4814fbf7c3f12c85d7652068fb759daf WHIRLPOOL 857c28508a8e6003ec36d58ef5129f27ca6549dea59585a677e39cce61794ff723e2e4b0f40cceb88c5c1fa77c1dd38d816118a8adbe8496ef061b71324e9b36 +MISC ChangeLog-2015 4044 SHA256 9b0ac48303020185b21bbf3b008191c7878b4c98cdcebf9e455021cc60b2d2da SHA512 1af6fb25fa7def5c9ebff256945941448d9521389d280308d50ddf33f83142309c5efc9410487fb764d87231f5149cd3a3bd67d1b33cd7b3d0bd2b7157e2d3e5 WHIRLPOOL a496147b45cd1163ef2fb025a0350e6fa6c85ec0056b50f82501667c0f080df84400fa507aff85e21de047386a502d4091121d012e60313a514f0782b07b3fdb +MISC metadata.xml 210 SHA256 261430405ac37ae531b59949774ba64133ecc8593015df002402afe0f0f60d7e SHA512 27fbc849a311e57c8dbad0cae9975d564c03ae8a7b495b2e7a5cd160c6a09c0101e695ba4d2edf07c0d4c4d7329ff9a4bd91656aa685623342883b83bcb9ac0f WHIRLPOOL daffaf412be04b8235613f91913fd8a88e1650897a3563641f50de943a4cdee417461a6627acdf7a99a3ff9f5ccf080c0676ae37105f6bfcda3a8200718d1ada diff --git a/app-arch/unp/files/unp-2.0_pre7_p1-remove-deprecated-have.diff b/app-arch/unp/files/unp-2.0_pre7_p1-remove-deprecated-have.diff new file mode 100644 index 000000000000..a0838a82559f --- /dev/null +++ b/app-arch/unp/files/unp-2.0_pre7_p1-remove-deprecated-have.diff @@ -0,0 +1,10 @@ +diff -Naur unp-2.0~pre7+nmu1/bash_completion.d/unp unp-2.0~pre7+nmu1-1/bash_completion.d/unp +--- unp-2.0~pre7+nmu1/bash_completion.d/unp 2012-05-16 22:05:13.000000000 +0200 ++++ unp-2.0~pre7+nmu1-1/bash_completion.d/unp 2014-10-22 10:34:20.343233166 +0200 +@@ -1,6 +1,5 @@ + # bash completion for unp + +-have unp && + _unp() + { + local cur diff --git a/app-arch/unp/metadata.xml b/app-arch/unp/metadata.xml new file mode 100644 index 000000000000..28ef3c7b080f --- /dev/null +++ b/app-arch/unp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"><email>hanno@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/app-arch/unp/unp-2.0_pre7.ebuild b/app-arch/unp/unp-2.0_pre7.ebuild new file mode 100644 index 000000000000..17f3ea399609 --- /dev/null +++ b/app-arch/unp/unp-2.0_pre7.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=2 + +inherit eutils bash-completion-r1 + +DESCRIPTION="Script for unpacking various file formats" +HOMEPAGE="https://packages.qa.debian.org/u/unp.html" +SRC_URI="mirror://debian/pool/main/u/unp/${PN}_${PV/_/$'\x7e'}.tar.bz2" +S="${WORKDIR}/${PN}-${PV/_/$'\x7e'}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ~hppa ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="nls" + +DEPEND="nls? ( sys-devel/gettext )" + +RDEPEND="${DEPEND} + dev-lang/perl" + +src_compile() { + if use nls; then + cd po + emake + fi +} + +src_install() { + dobin unp || die "dobin failed" + dosym unp /usr/bin/ucat + doman debian/unp.1 || die "doman failed" + dodoc debian/changelog debian/README.Debian + dobashcomp bash_completion.d/unp + + if use nls; then + cd po + emake DESTDIR="${D}" install + fi +} diff --git a/app-arch/unp/unp-2.0_pre7_p1-r1.ebuild b/app-arch/unp/unp-2.0_pre7_p1-r1.ebuild new file mode 100644 index 000000000000..c2ad30c74766 --- /dev/null +++ b/app-arch/unp/unp-2.0_pre7_p1-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils bash-completion-r1 + +DESCRIPTION="Script for unpacking various file formats" +HOMEPAGE="https://packages.qa.debian.org/u/unp.html" +TEMP_PV="${PV/_pre/$'\x7e'pre}" +MY_PV="${TEMP_PV/_p/+nmu}" +SRC_URI="mirror://debian/pool/main/u/unp/${PN}_${MY_PV}.tar.bz2" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="nls" + +DEPEND="nls? ( sys-devel/gettext )" + +RDEPEND="${DEPEND} + dev-lang/perl" + +PATCHES=( "${FILESDIR}/${P}-remove-deprecated-have.diff" ) + +src_compile() { + if use nls; then + strip-linguas -i . + if [ -n "$LINGUAS" ]; then + emake -C po MOFILES="${LINGUAS// /.po }.po" + else + emake -C po + fi + fi +} + +src_install() { + dobin unp || die "dobin failed" + dosym unp /usr/bin/ucat + doman debian/unp.1 || die "doman failed" + dodoc debian/changelog debian/README.Debian + dobashcomp bash_completion.d/unp + + if use nls; then + if [ -n "$LINGUAS" ]; then + emake -C po MOFILES="${LINGUAS// /.mo }.mo" DESTDIR="${D}" install + else + emake -C po DESTDIR="${D}" install + fi + fi +} diff --git a/app-arch/unp/unp-2.0_pre7_p1.ebuild b/app-arch/unp/unp-2.0_pre7_p1.ebuild new file mode 100644 index 000000000000..3c2f98f8f9cf --- /dev/null +++ b/app-arch/unp/unp-2.0_pre7_p1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils bash-completion-r1 + +DESCRIPTION="Script for unpacking various file formats" +HOMEPAGE="https://packages.qa.debian.org/u/unp.html" +TEMP_PV="${PV/_pre/$'\x7e'pre}" +MY_PV="${TEMP_PV/_p/+nmu}" +SRC_URI="mirror://debian/pool/main/u/unp/${PN}_${MY_PV}.tar.bz2" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="nls" + +DEPEND="nls? ( sys-devel/gettext )" + +RDEPEND="${DEPEND} + dev-lang/perl" + +src_prepare() { + epatch "${FILESDIR}/${P}-remove-deprecated-have.diff" +} + +src_compile() { + if use nls; then + cd po + emake + fi +} + +src_install() { + dobin unp || die "dobin failed" + dosym unp /usr/bin/ucat + doman debian/unp.1 || die "doman failed" + dodoc debian/changelog debian/README.Debian + dobashcomp bash_completion.d/unp + + if use nls; then + cd po + emake DESTDIR="${D}" install + fi +} |