x11-misc/rodent: migrate to EAPI6
authorDenis Dupeyron <calchan@gentoo.org>
Wed, 29 Nov 2017 00:30:00 +0000 (00:30 +0000)
committerDenis Dupeyron <calchan@gentoo.org>
Wed, 29 Nov 2017 00:30:18 +0000 (00:30 +0000)
Package-Manager: Portage-2.3.13, Repoman-2.3.3

x11-misc/rodent/Manifest
x11-misc/rodent/rodent-5.3.16.3-r1.ebuild [new file with mode: 0644]

index 4522f530475cdb57e9a93b2403f10bd6e04515a0..d3ae1e0e2d187a5f2ba5e6a9e9b1e12c3f1e8e09 100644 (file)
@@ -1 +1 @@
-DIST rodent-5.3.16.3.tar.bz2 10873231 SHA256 456ffaa4ef3b60af1a94dad0a35f1e3986235d81f00b257a3204074a2275f3d6 SHA512 83c85501d3fe49e84abe9bb61a23ca4ec86fb22abb2e9a01228b3180d114380ff085ee58f51b9ac47173214ab8323e0bde7cfca6fb9b7907d4b1551ad48326f5 WHIRLPOOL 2e8707d48b879209e225c8101f2919bb5cb327794da5d872ae5fa422bf2af39c2a828f0b81d359b9e7e06c18a5d8ff77d4249980293f62ea9833711c308360e5
+DIST rodent-5.3.16.3.tar.bz2 10873231 BLAKE2B 5eca3c69d5a0427997bfcb7af8cd187fcb9f49e98988ed16a2cb292e59686d82ca93f60f8c827669df3b168d53c1da5b956d267dc94c1b67793113ae42b98954 SHA512 83c85501d3fe49e84abe9bb61a23ca4ec86fb22abb2e9a01228b3180d114380ff085ee58f51b9ac47173214ab8323e0bde7cfca6fb9b7907d4b1551ad48326f5
diff --git a/x11-misc/rodent/rodent-5.3.16.3-r1.ebuild b/x11-misc/rodent/rodent-5.3.16.3-r1.ebuild
new file mode 100644 (file)
index 0000000..ad96bd8
--- /dev/null
@@ -0,0 +1,40 @@
+# 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 fast, small and powerful file manager and graphical shell"
+HOMEPAGE="http://xffm.org/"
+SRC_URI="mirror://sourceforge/xffm/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/librfm-5.3.16.3"
+DEPEND="${RDEPEND}
+       dev-util/intltool
+       virtual/pkgconfig"
+
+DOCS=( AUTHORS ChangeLog TODO )
+
+src_prepare() {
+       pushd apps/rodent-pkg >/dev/null || die
+       sed -i -e "/^install-data-hook/d" \
+               -e "/rm -f/d" Build/Makefile.am || die
+       eautoreconf
+       popd >/dev/null || die
+       default
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+}