diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-arch/xarchiver/xarchiver-0.5.4.12.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-arch/xarchiver/xarchiver-0.5.4.12.ebuild')
-rw-r--r-- | app-arch/xarchiver/xarchiver-0.5.4.12.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/app-arch/xarchiver/xarchiver-0.5.4.12.ebuild b/app-arch/xarchiver/xarchiver-0.5.4.12.ebuild new file mode 100644 index 000000000000..9cca9271d933 --- /dev/null +++ b/app-arch/xarchiver/xarchiver-0.5.4.12.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools gnome2-utils xdg-utils + +DESCRIPTION="A GTK+ archive manager that can be used with Thunar" +HOMEPAGE="https://github.com/ib/xarchiver" +SRC_URI="https://github.com/ib/xarchiver/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="doc" + +RDEPEND=">=dev-libs/glib-2:= + x11-libs/gtk+:3=" +DEPEND="${RDEPEND} + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig + doc? ( + app-text/docbook-xml-dtd + app-text/docbook-xsl-stylesheets + dev-libs/libxml2 + dev-libs/libxslt + )" + +src_prepare() { + sed -e '/COPYING/d' -e '/NEWS/d' -i doc/Makefile.am || die + default + eautoreconf +} + +src_configure() { + local myconf=( + $(use_enable doc) + ) + econf "${myconf[@]}" +} + +pkg_postinst() { + xdg_desktop_database_update + gnome2_icon_cache_update + + elog "You need external programs for some formats, including:" + elog "7zip - app-arch/p7zip" + elog "arj - app-arch/unarj app-arch/arj" + elog "lha - app-arch/lha" + elog "lzop - app-arch/lzop" + elog "rar - app-arch/unrar app-arch/rar" + elog "zip - app-arch/unzip app-arch/zip" +} + +pkg_postrm() { + xdg_desktop_database_update + gnome2_icon_cache_update +} |