diff options
author | Alfred Wingate <parona@protonmail.com> | 2024-08-29 18:45:56 +0300 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2024-09-01 23:30:17 +0000 |
commit | f482979e5c31a4fc56c08f0c6d901af586871bea (patch) | |
tree | 2cafea8fbd8a8f1f4c63a0cfc73afb1d5ce8993e /dev-util/android-udev-rules | |
parent | app-admin/bitwarden-desktop-bin: add 2024.8.1, drop 2024.8.0 (diff) | |
download | gentoo-f482979e5c31a4fc56c08f0c6d901af586871bea.tar.gz gentoo-f482979e5c31a4fc56c08f0c6d901af586871bea.tar.bz2 gentoo-f482979e5c31a4fc56c08f0c6d901af586871bea.zip |
dev-util/android-udev-rules: add 20240829
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'dev-util/android-udev-rules')
-rw-r--r-- | dev-util/android-udev-rules/Manifest | 1 | ||||
-rw-r--r-- | dev-util/android-udev-rules/android-udev-rules-20240829.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 60e1bc8dfa54..0ecbe6c1f03a 100644 --- a/dev-util/android-udev-rules/Manifest +++ b/dev-util/android-udev-rules/Manifest @@ -1,2 +1,3 @@ DIST android-udev-rules-20240221.tar.gz 24770 BLAKE2B 76c69763a173cef28fe8ebf730edc5cd156e60900740752d703b56a8495aa868b9ee91cb5fa98e445420cbe7714b9f474e047d626666c3ea40273e0a19124ecb SHA512 152012c450dfa98b047d43162d15c614f7349c774de36c7ebdd8beff88fcb08e162cb5b8c8ab647b4058c510a3b5f65888d02402e86bea6726159051e0f5bc72 DIST android-udev-rules-20240625.tar.gz 24970 BLAKE2B 40558ad0d6207efa690c632f76ceb71cbd79c6cff68463857a211f3fe9257bbf1d37260ccfec2d9bafff480b14bbf7b2f47b65852b7cc7aeaefc9e36cc122a95 SHA512 c9d534d7ddc5e290a992773a967f1625241f999c22d1c469e7f88c3c39a3a01da922e42d31b0c8b109dac08400f0cf515177a048a2a0ae27d2158ba265d2649e +DIST android-udev-rules-20240829.tar.gz 24981 BLAKE2B 8886bb32bd70c4ebb1ce0381ca6799ec12087a59ce7266bfb7cf3a3daba60c4fab854a0a9fa24084acf4db983a1b0f9271b4e1bf32c6b21d21db289281c15f86 SHA512 a75b23ab0ad12d11af3ace9dfbab218fb56ee186a4e69c59358ea77322355150f889a900fd7ae9eb673d3f8ff7acde6262eb8915225df337191d992716665128 diff --git a/dev-util/android-udev-rules/android-udev-rules-20240829.ebuild b/dev-util/android-udev-rules/android-udev-rules-20240829.ebuild new file mode 100644 index 000000000000..b566bb91970c --- /dev/null +++ b/dev-util/android-udev-rules/android-udev-rules-20240829.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 +} |