From bed3b604e16fc6075e29f1af8d47507a07035bd3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 21 Jun 2024 00:11:18 +0100 Subject: gentoo auto-resync : 21:06:2024 - 00:11:18 --- app-admin/xstow/Manifest | 2 ++ app-admin/xstow/xstow-1.1.1.ebuild | 41 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 app-admin/xstow/xstow-1.1.1.ebuild (limited to 'app-admin/xstow') diff --git a/app-admin/xstow/Manifest b/app-admin/xstow/Manifest index 883273c6b49d..f19f6ba044a3 100644 --- a/app-admin/xstow/Manifest +++ b/app-admin/xstow/Manifest @@ -1,5 +1,7 @@ AUX 99xstow 65 BLAKE2B c3d3dae69e0ed5251a996ddfb164795718974e1c2464176e680373fab25ceeb8a22392ac8de0dd489462e28bc48512c151f3f438ddc7f9bd093d5c63b46ba29b SHA512 0ade954fc07ba98be74d79e8ce842fc4e3e12f83d59f76eb78810251cc9e1612d963401be99f38002d94a2a32c9c2a32429f73d7ee69e97c12f6a05db14a3476 AUX xstow-1.1.0-clang.patch 1092 BLAKE2B b00444730f525ce39c2692e7f1ab120b40d1e671d88c1c4f9b2b85f0c97ef34a89f12ba47c8eabd53464d05e5e3a94f28f84c3ce277072a983c34e188f149edd SHA512 804df13381f1d0f365303547c1b8e8b5fa2dd06e357596bd65ba349fe6b63e906491e78a19a6bf9190e7e8a81ae26b77a66f0f5290ff5b640f91024eca136537 DIST xstow-1.1.0.tar.bz2 187761 BLAKE2B ed3822e638aedf8900a3baba62a5af9de9d7b98dcdf27ca81a6898353b9f5c7f767ec7d8e68ead4d5ef318af5a6eda2b1cc68a5c80a6a8ad2b9c8adf03ae3377 SHA512 30f2e0be0c2aba668b4cc781fe69ac74c2460cc681c6b47a55ee66af5c0f2ac14dee9fe2e95a288ce06059378407a2b99d2156430a5a6dcbf06def793f579015 +DIST xstow-1.1.1.tar.bz2 188334 BLAKE2B 13b079b4c0bdfc68837d3674eb64852d6c8bd341541c927703eed7e302ce36328bc814c618972365b60bd7562a4a2398c6a881a0a42c5778523197e41cfde7df SHA512 86154bd562e1dcb068a2c766a849975a4e6c9c343d89d47f8dd339a03b73aceb2dfb8523e2bc40df3ceb673a1a9f7991737e982c0c1a2cc0bd9fcdf8fd7c3113 EBUILD xstow-1.1.0.ebuild 1239 BLAKE2B b6d021bae09e316cf7789ec84747d6c4f9f5d26c4a0aa49633ecc108a70553b3653cb8a7cf972ea68de72f6f0820626bc9afb025d950f4cb10a5c01428edd16a SHA512 c49dc7ead25e07568eed7b380e9c95da10528fd40ebe5230fe85fd088ca0be30ae687f538c0eee18dd6a547649d7ac89b5c0c5948ec8bc0d3ac3fcbed5259b73 +EBUILD xstow-1.1.1.ebuild 1137 BLAKE2B e1311987801237784073743c1bd358c5ce29509a3dfc52c70fdfe062bbc8517047ae7f08eb56a9b01b01f87907cdc1d534c4daf2a0fd845bfb9b85f164dd4973 SHA512 924c3b9c5a0ba13321be39321aced246a3d27d0fbfb08e21ed266422a4ea141e13fd9078ea97c22546a91fd17c6c6ed641ca2ecdc50ed486ad971f57525d865e MISC metadata.xml 301 BLAKE2B aace14f4b6ef5f8874f165c8bf5f6c3df1c8a259a54f48cf8805a62baa9530bdeea7dbe85a9c445151fdac6a53674f1967bf960ef0c9b26e4ccc8923d89cef55 SHA512 dafc481314893bacf1024daa509819b09d99f7f7c2bbb0613ac092cc0e14eb61ec708ba1a6d5b3d48774855707481745d0da462b94a973dd88a22ec64cc667de diff --git a/app-admin/xstow/xstow-1.1.1.ebuild b/app-admin/xstow/xstow-1.1.1.ebuild new file mode 100644 index 000000000000..d6dcfa3ad50d --- /dev/null +++ b/app-admin/xstow/xstow-1.1.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Replacement for GNU stow with extensions" +HOMEPAGE="https://github.com/majorkingleo/xstow" +SRC_URI="https://github.com/majorkingleo/${PN}/releases/download/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="ncurses" + +DEPEND="ncurses? ( sys-libs/ncurses:= )" +RDEPEND="${DEPEND}" + +src_configure() { + econf $(use_with ncurses curses) +} + +src_install() { + emake DESTDIR="${D}" docdir="${EPREFIX}/usr/share/doc/${PF}/html" install + einstalldocs + + # Create new STOWDIR + keepdir /var/lib/xstow + + # Install env.d file to add STOWDIR to PATH and LDPATH + doenvd "${FILESDIR}"/99xstow +} + +pkg_postinst() { + elog "We now recommend that you use /var/lib/xstow as your STOWDIR" + elog "instead of /usr/local in order to avoid conflicts with the" + elog "symlink from /usr/lib64 -> /usr/lib. See Bug 246264" + elog "(regarding app-admin/stow, equally applicable to XStow) for" + elog "more details on this change." + elog "For your convenience, PATH has been updated to include" + elog "/var/lib/bin." +} -- cgit v1.2.3