From 6a57f9ee53dc794f3d47ea68f78d6ef76d00af47 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 8 Jan 2023 12:15:59 +0000 Subject: gentoo auto-resync : 08:01:2023 - 12:15:59 --- dev-util/android-udev-rules/Manifest | 2 ++ .../android-udev-rules-20230104.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 dev-util/android-udev-rules/android-udev-rules-20230104.ebuild (limited to 'dev-util/android-udev-rules') diff --git a/dev-util/android-udev-rules/Manifest b/dev-util/android-udev-rules/Manifest index 7cc5234b9138..6ad5eb6931ba 100644 --- a/dev-util/android-udev-rules/Manifest +++ b/dev-util/android-udev-rules/Manifest @@ -1,3 +1,5 @@ DIST android-udev-rules-20220903.tar.gz 21009 BLAKE2B 4f0375b574f123e7cbd18658582568f85e3278e9fe2b673e6c9193a16845737afc99d82d0df2f6a8d0daf784132e7d523bdf767761a5d467a66bf89f86cc1046 SHA512 ca09a1b49b6cbc7df2b8c6bea1e6fcf4886938c8567002054222795493bea036e3c5a139939e43cb965d45a8ecf74c0715583ef1aade2b7783751a75ab34d540 +DIST android-udev-rules-20230104.tar.gz 21266 BLAKE2B bbae83511b1fa5e94a50ae3cc44920862de30873304c0a904b4f9d3796296deff419c05db5d716cc89587c3a7ae7a302b2b219564e452564c5f3bf092e7515af SHA512 dcc45755a5a20a74d2241b398dba0e65135bf9c5539396bd6a3415b15fd865f4d3134de53de1ae2019ffe9567c557b5a386fdfe0245107b29c234a2211e0a211 EBUILD android-udev-rules-20220903.ebuild 734 BLAKE2B c03881c500a241b722ce61d4305f4561d45076e5298ce138039071a6fe17e6036fe5795168adfe95dcd42a4db6a151ddbb4415e8f95ee6d3f36532a7928d55fa SHA512 b7963d1cfe8039f09bb6ecdeffd5e2b31aaa740ab7e9398858c7f70f67f47d25ab2fc8ec5562dc5b9ba747a3c0b3c77e07758321b2b042f4262870002a87e6be +EBUILD android-udev-rules-20230104.ebuild 741 BLAKE2B d19e7448f94716d55a1364d244e0827b25bcc860c59ab1a07abe8179161961c24bc69c5ca6475782b9e31fbc27b9b2e2125ed2861755c92eebb2ac80424f0dda SHA512 f011a45d6f340c7da44123c8deef1b05544214633cda6a41f7963f7eade6dbde14cca34bd939d9ac0ba519d37f092c970de31d7990e477411d8c1f5b0d93aea5 MISC metadata.xml 489 BLAKE2B 89af52034e7b4d3588131f94d9c5d2af47442a46550cb694383a19c5ed95de9e6be6b58dd91e32d951ec20d1b167bd550bc2aaf72db2ed866ef7b66367b3e7d9 SHA512 eb468d8fc9103f7b6f62849e130235d8697f770f3b7a4d9f45e591d4f8dc5b7cd1d6d80ab2df441f7f531e74fa0914947c5f65cabbb3e8d059d294b940b47132 diff --git a/dev-util/android-udev-rules/android-udev-rules-20230104.ebuild b/dev-util/android-udev-rules/android-udev-rules-20230104.ebuild new file mode 100644 index 000000000000..12572552f91e --- /dev/null +++ b/dev-util/android-udev-rules/android-udev-rules-20230104.ebuild @@ -0,0 +1,39 @@ +# 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" + +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 +} -- cgit v1.2.3