diff options
Diffstat (limited to 'app-arch/unar')
-rw-r--r-- | app-arch/unar/Manifest | 3 | ||||
-rw-r--r-- | app-arch/unar/metadata.xml | 10 | ||||
-rw-r--r-- | app-arch/unar/unar-1.10.1.ebuild | 53 |
3 files changed, 66 insertions, 0 deletions
diff --git a/app-arch/unar/Manifest b/app-arch/unar/Manifest new file mode 100644 index 000000000000..583c6c577b34 --- /dev/null +++ b/app-arch/unar/Manifest @@ -0,0 +1,3 @@ +DIST unar1.10.1_src.zip 2552535 BLAKE2B 678c90dae6572cf9de6f90d044de650d82293df3918eb298de27fe5a557efdda1c1da284c6829c667bb2812033627fcb1a31bf22318d277e9467ca965435f6b2 SHA512 2755f1e2dcca68912f748587f195887d785d5c30933ca0d7a7de1dd35c6c1c115571e49f462fe15722e1b34560f02503382727e1df19a1f23d4a3cc75750434e +EBUILD unar-1.10.1.ebuild 1169 BLAKE2B ebac22af794e9a19dba80156dfe96c912ddb27b163b485e884a3c9cb7a8e725c01f420f733cf216a5b19c97d50330144700b56f12426152f893d80e33f2cd261 SHA512 e8681f438331639273f32e52a9fd51f761b628584a75ad0792f42fecadde25cc5dbc175a647df031bbb1914b2f848feb1e60ce098e9a707287013ae727936492 +MISC metadata.xml 299 BLAKE2B e4ba80605afa425e3affada863a2816f561e3ac3a7eba58e6392df43b9772dbc8de406a660688c556a4ebcd48647722bbb1139b2016596901a34712b9a8d4a31 SHA512 6b3bfdb09755e678dc609356ff3819f66574af5718870ff7f2ca29a6f1a1c85e1cc781d713bd27ebc8ae2d44171efabd3a69202f3b1c75323c4f410136c2850f diff --git a/app-arch/unar/metadata.xml b/app-arch/unar/metadata.xml new file mode 100644 index 000000000000..0cdd2da33f04 --- /dev/null +++ b/app-arch/unar/metadata.xml @@ -0,0 +1,10 @@ +<?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> + <upstream> + <remote-id type="google-code">theunarchiver</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-arch/unar/unar-1.10.1.ebuild b/app-arch/unar/unar-1.10.1.ebuild new file mode 100644 index 000000000000..e81a5cd05425 --- /dev/null +++ b/app-arch/unar/unar-1.10.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="unpacker for various archiving formats, e.g. rar v3" +HOMEPAGE="https://unarchiver.c3.cx/" +SRC_URI="https://unarchiver.c3.cx/downloads/${PN}${PV}_src.zip" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64" +IUSE="" + +RDEPEND=" + app-arch/bzip2:= + dev-libs/icu:= + gnustep-base/gnustep-base + sys-libs/zlib:= +" +DEPEND="${RDEPEND} + >=gnustep-base/gnustep-make-2.6.0[native-exceptions] + sys-devel/gcc[objc] +" + +S="${WORKDIR}/The Unarchiver/XADMaster" + +src_prepare() { + default + # avoid jobserver warning, upstream bug: + # https://bitbucket.org/WAHa_06x36/theunarchiver/issues/918/dont-call-make-from-makefile + sed -i -e 's:make:$(MAKE):g' Makefile.linux || die +} + +src_compile() { + emake -f Makefile.linux \ + AR="$(tc-getAR)" \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" \ + OBJCC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" \ + OBJCFLAGS="${CFLAGS}" \ + LD="$(tc-getCXX)" \ + LDFLAGS="-Wl,--whole-archive -fexceptions -fgnu-runtime ${LDFLAGS}" +} + +src_install() { + dobin {ls,un}ar + doman ../Extra/{ls,un}ar.1 +} |