diff options
author | Alfred Wingate <parona@protonmail.com> | 2024-06-28 00:07:33 +0300 |
---|---|---|
committer | Eli Schwartz <eschwartz@gentoo.org> | 2024-07-04 00:06:15 -0400 |
commit | 88990dbe6059ee12f99be0981effaf042e7f08bb (patch) | |
tree | 513e69b7e94609f9dd2169a6ac1f4dd05cc81082 /dev-util | |
parent | x11-terms/alacritty: drop 0.13.1 (diff) | |
download | gentoo-88990dbe6059ee12f99be0981effaf042e7f08bb.tar.gz gentoo-88990dbe6059ee12f99be0981effaf042e7f08bb.tar.bz2 gentoo-88990dbe6059ee12f99be0981effaf042e7f08bb.zip |
dev-util/android-udev-rules: add 20240625
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/android-udev-rules/Manifest | 1 | ||||
-rw-r--r-- | dev-util/android-udev-rules/android-udev-rules-20240625.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-util/android-udev-rules/Manifest b/dev-util/android-udev-rules/Manifest index d6b83b57bfe6..732af020995c 100644 --- a/dev-util/android-udev-rules/Manifest +++ b/dev-util/android-udev-rules/Manifest @@ -1,2 +1,3 @@ DIST android-udev-rules-20240114.tar.gz 24655 BLAKE2B 078c19d5cbf937c12d1611c223613202c44c1cc70e6c3c475ed68b7197fb759b82883f60670ce9c0d188432b86ed2c1dce7460450e1a433f5672af8b2d99c1b7 SHA512 1ebc186abc6bc080e336765f07fea046db338da189ae098ecc696239aea3c2a93679de7ca3baacea94787b4f2df65ba3946676b5f5d09f7b2aa813ab20cb108e DIST android-udev-rules-20240221.tar.gz 24770 BLAKE2B 76c69763a173cef28fe8ebf730edc5cd156e60900740752d703b56a8495aa868b9ee91cb5fa98e445420cbe7714b9f474e047d626666c3ea40273e0a19124ecb SHA512 152012c450dfa98b047d43162d15c614f7349c774de36c7ebdd8beff88fcb08e162cb5b8c8ab647b4058c510a3b5f65888d02402e86bea6726159051e0f5bc72 +DIST android-udev-rules-20240625.tar.gz 24970 BLAKE2B 40558ad0d6207efa690c632f76ceb71cbd79c6cff68463857a211f3fe9257bbf1d37260ccfec2d9bafff480b14bbf7b2f47b65852b7cc7aeaefc9e36cc122a95 SHA512 c9d534d7ddc5e290a992773a967f1625241f999c22d1c469e7f88c3c39a3a01da922e42d31b0c8b109dac08400f0cf515177a048a2a0ae27d2158ba265d2649e diff --git a/dev-util/android-udev-rules/android-udev-rules-20240625.ebuild b/dev-util/android-udev-rules/android-udev-rules-20240625.ebuild new file mode 100644 index 000000000000..b566bb91970c --- /dev/null +++ b/dev-util/android-udev-rules/android-udev-rules-20240625.ebuild @@ -0,0 +1,42 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit udev + +DESCRIPTION="Android udev rules list aimed to be the most comprehensive on the net" +HOMEPAGE="https://github.com/M0Rf30/android-udev-rules" +SRC_URI="https://github.com/M0Rf30/android-udev-rules/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +# No tests +RESTRICT="test" + +RDEPEND=" + acct-group/android + virtual/udev +" + +src_prepare() { + default + + # Use the pre-existing android group + sed -i 's/GROUP="adbusers"/GROUP="android"/' 51-android.rules || die +} + +src_install() { + udev_dorules 51-android.rules + einstalldocs +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} |