diff options
author | Alfred Wingate <parona@protonmail.com> | 2023-11-04 20:15:17 +0200 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2023-11-13 11:53:49 +0000 |
commit | a9f69f44715707f8bc6c3fac4bc8c8cd814d235e (patch) | |
tree | 44750f5dfaa92b9ea846584179e96a8280615146 /dev-util | |
parent | app-arch/patool: drop 1.12 (diff) | |
download | gentoo-a9f69f44715707f8bc6c3fac4bc8c8cd814d235e.tar.gz gentoo-a9f69f44715707f8bc6c3fac4bc8c8cd814d235e.tar.bz2 gentoo-a9f69f44715707f8bc6c3fac4bc8c8cd814d235e.zip |
dev-util/android-udev-rules: add 20231104
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Signed-off-by: Yixun Lan <dlan@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-20231104.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 cc1a47a7e871..231d3d890b3f 100644 --- a/dev-util/android-udev-rules/Manifest +++ b/dev-util/android-udev-rules/Manifest @@ -2,3 +2,4 @@ DIST android-udev-rules-20220903.tar.gz 21009 BLAKE2B 4f0375b574f123e7cbd1865858 DIST android-udev-rules-20230104.tar.gz 21266 BLAKE2B bbae83511b1fa5e94a50ae3cc44920862de30873304c0a904b4f9d3796296deff419c05db5d716cc89587c3a7ae7a302b2b219564e452564c5f3bf092e7515af SHA512 dcc45755a5a20a74d2241b398dba0e65135bf9c5539396bd6a3415b15fd865f4d3134de53de1ae2019ffe9567c557b5a386fdfe0245107b29c234a2211e0a211 DIST android-udev-rules-20230303.tar.gz 21458 BLAKE2B 6e9299d516fb6e69db526db0626f75580e2fcb5ebe798528a00f0fafb7f309f2b460b8f4ba7f1d4e17c08805e208272c1a06f773a4d2fe12fb64e7d84bfef6da SHA512 744aab41f3506281203ae8571d6c5d6b48b187df30df9fbbbf47b123a64dfe039f18b7f5b0e8632a2799d2f0f0b08a4975106dec2a24c7f8390dd60c0581c18b DIST android-udev-rules-20230614.tar.gz 22013 BLAKE2B eece288e673be456e6b470471e34fe744d59d13f052331efc23181c77e2dc83d31ca6a95e965a2ca35736a3c8bb478c5494bf2319b25cec215432b8fa6da78d2 SHA512 983282a6adcbc200e548985d403a317e0cca48282ec17cf8496f7009df9a75e4c6a16a2ec0a65214a019acfdf550fb6450ef1dfe4021d8e9449988427f9c25c2 +DIST android-udev-rules-20231104.tar.gz 24127 BLAKE2B d70ed1305da1a6115aa4e597318b0cab307ef75f7e75e8ffd0f07857e6523ac8153cbc0c306ad1fe850688145e8738a626ed63b08bf514c57baedb2ee6b9d1a7 SHA512 c1d44d6fbb2f3e05b0e53887c43e4dfc3560ff27c56773ec45927686ce5962400a778da823d58d5ecd8c604fd410bf8aa33058a4a2bc2b724397c4fa7ea9fbe6 diff --git a/dev-util/android-udev-rules/android-udev-rules-20231104.ebuild b/dev-util/android-udev-rules/android-udev-rules-20231104.ebuild new file mode 100644 index 000000000000..62f49b941ae8 --- /dev/null +++ b/dev-util/android-udev-rules/android-udev-rules-20231104.ebuild @@ -0,0 +1,42 @@ +# Copyright 2022-2023 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 +} |