diff options
author | Repository mirror & CI <repomirrorci@gentoo.org> | 2023-06-15 08:01:56 +0000 |
---|---|---|
committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2023-06-15 08:01:56 +0000 |
commit | f56beb2596a990b54068c7c64ac825405b70c11e (patch) | |
tree | 89fc1c1f770d61ce6dad173573c0c4eb88ff0aa6 | |
parent | 2023-06-15 07:31:57 UTC (diff) | |
parent | dev-util/android-udev-rules: add 20230614 (diff) | |
download | gentoo-f56beb2596a990b54068c7c64ac825405b70c11e.tar.gz gentoo-f56beb2596a990b54068c7c64ac825405b70c11e.tar.bz2 gentoo-f56beb2596a990b54068c7c64ac825405b70c11e.zip |
Merge updates from master
-rw-r--r-- | dev-util/android-udev-rules/Manifest | 1 | ||||
-rw-r--r-- | dev-util/android-udev-rules/android-udev-rules-20230614.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 ef95cd8a2039..cc1a47a7e871 100644 --- a/dev-util/android-udev-rules/Manifest +++ b/dev-util/android-udev-rules/Manifest @@ -1,3 +1,4 @@ DIST android-udev-rules-20220903.tar.gz 21009 BLAKE2B 4f0375b574f123e7cbd18658582568f85e3278e9fe2b673e6c9193a16845737afc99d82d0df2f6a8d0daf784132e7d523bdf767761a5d467a66bf89f86cc1046 SHA512 ca09a1b49b6cbc7df2b8c6bea1e6fcf4886938c8567002054222795493bea036e3c5a139939e43cb965d45a8ecf74c0715583ef1aade2b7783751a75ab34d540 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 diff --git a/dev-util/android-udev-rules/android-udev-rules-20230614.ebuild b/dev-util/android-udev-rules/android-udev-rules-20230614.ebuild new file mode 100644 index 000000000000..62f49b941ae8 --- /dev/null +++ b/dev-util/android-udev-rules/android-udev-rules-20230614.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 +} |