commit: e4689cba0c58e20190fca914fe8d3e493c89382a Author: Daniel Pielmeier <billie <AT> gentoo <DOT> org> AuthorDate: Sat Apr 19 11:18:54 2025 +0000 Commit: Daniel Pielmeier <billie <AT> gentoo <DOT> org> CommitDate: Sat Apr 19 11:18:54 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4689cba
app-mobilephone/adebar: add 2.4.2 Signed-off-by: Daniel Pielmeier <billie <AT> gentoo.org> app-mobilephone/adebar/Manifest | 1 + app-mobilephone/adebar/adebar-2.4.2.ebuild | 63 ++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/app-mobilephone/adebar/Manifest b/app-mobilephone/adebar/Manifest index ce565359d4d5..8a771c8ad312 100644 --- a/app-mobilephone/adebar/Manifest +++ b/app-mobilephone/adebar/Manifest @@ -1 +1,2 @@ DIST adebar-2.4.1.tar.gz 64226 BLAKE2B 88387844779d9ec857b3f23ca397703fd021cfefbbcb0e5e9bfdea04270adf0cb062d0b34035a93248e7574be5a0dc664f839267e8af82b17967b256f9a57dfc SHA512 7fea787157d1a9bde18601a5199fb57ce108545ade80774ad1d70d64aa7263e9da91f9da1dfa15ff17e266ab0fb78bacab2a767b636013a64d5b2a63f20d74d7 +DIST adebar-2.4.2.tar.gz 65216 BLAKE2B bbcb9729075c624539ad937d72d5fe4e029c54721119f3b0aad30d84feb5a8f0416dd70a1844fa0d5f46baac53aca7a6db476a67df119b01be4a7d1f857bb643 SHA512 3fcf1fd75342ff609fce718d4ca00a8fdfcc34d9ca142951033ce73234d897580b8bf9c4c66208cdb6cb763863653d58439d5e9c17f6dd7bf2a62ce186a77abf diff --git a/app-mobilephone/adebar/adebar-2.4.2.ebuild b/app-mobilephone/adebar/adebar-2.4.2.ebuild new file mode 100644 index 000000000000..56ac670c9aa0 --- /dev/null +++ b/app-mobilephone/adebar/adebar-2.4.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit readme.gentoo-r1 + +DESCRIPTION="Android DEvice Backup And Report, using Bash and ADB" +HOMEPAGE="https://codeberg.org/izzy/Adebar" +SRC_URI="https://codeberg.org/izzy/Adebar/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}/${PN}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + app-shells/bash + dev-util/android-tools +" + +DISABLE_AUTOFORMATTING="no" +DOC_CONTENTS="Please refer to the documentation at https://codeberg.org/izzy/Adebar/wiki. +You can find example configurations at /usr/share/doc/${PF}. +To customize, copy to \${XDG_CONFIG_HOME}/${PN} and edit it to your liking. +Contrary to the documentation, the Gentoo installation does not allow +configuration files relative to main program ${PN} installed to /usr/bin. +So the documentation must be placed in the users home directory." + +src_prepare() { + default + + sed -i -e 's|\(BINDIR=\).*|\1"/usr/share/adebar"|' ${PN}-cli + sed -i -e 's|\(LIBDIR=\).*|\1"/usr/lib/adebar"|' ${PN}-cli + sed -i -e '/-d "\$HOME\/\.config\/adebar"/,+2d' ${PN}-cli +} + +src_install() { + local libdir=/usr/lib/${PN} + local sharedir=/usr/share/${PN} + + newbin ${PN}-cli ${PN} + + insinto ${libdir} + doins -r lib/* + + exeinto ${sharedir}/tools + doexe tools/* + fperms 0644 ${sharedir}/tools/xml2array.php + + insinto ${sharedir}/templates + doins -r templates/* + + dodoc -r doc/* + dodoc README.md + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +}
