summaryrefslogtreecommitdiff
path: root/dev-util/android-udev-rules
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/android-udev-rules')
-rw-r--r--dev-util/android-udev-rules/Manifest1
-rw-r--r--dev-util/android-udev-rules/android-udev-rules-20200613.ebuild32
-rw-r--r--dev-util/android-udev-rules/metadata.xml8
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-util/android-udev-rules/Manifest b/dev-util/android-udev-rules/Manifest
new file mode 100644
index 0000000..8f47658
--- /dev/null
+++ b/dev-util/android-udev-rules/Manifest
@@ -0,0 +1 @@
+DIST android-udev-rules-20200613.tar.bz2 20119 BLAKE2B 47499d6b315d7e16ac2fcfba29586b55b5125dfb307d5b835bf749382296dbcf8225644d366dcdc3b99f2b9db03e1b9ee9306ffe8ae940bb4e83534c8587d8e4 SHA512 75e4bfec4cb5edc488a698807cc7dec8aa3c0c22495d5e613636a16dc746a78d548ce164e7899f4228f1e515bc61efa61fb0b5c85e59da695c3976aa3781567c
diff --git a/dev-util/android-udev-rules/android-udev-rules-20200613.ebuild b/dev-util/android-udev-rules/android-udev-rules-20200613.ebuild
new file mode 100644
index 0000000..09153b6
--- /dev/null
+++ b/dev-util/android-udev-rules/android-udev-rules-20200613.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit vcs-snapshot udev user
+
+DESCRIPTION="Comprehensive list of udev rules to connect to android devices"
+HOMEPAGE="https://github.com/M0Rf30/android-udev-rules"
+SRC_URI="https://github.com/M0Rf30/android-udev-rules/archive/${PV}.tar.gz -> ${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="virtual/udev"
+DEPEND="${RDEPEND}"
+
+src_install() {
+ udev_dorules 51-android.rules
+}
+
+pkg_setup() {
+ enewgroup adbusers
+}
+
+pkg_postinst() {
+ einfo "To be able to use android devices,"
+ einfo "add yourself to the 'adbusers' group by calling"
+ einfo " usermod -a -G adbusers <user>"
+}
diff --git a/dev-util/android-udev-rules/metadata.xml b/dev-util/android-udev-rules/metadata.xml
new file mode 100644
index 0000000..ba2f69e
--- /dev/null
+++ b/dev-util/android-udev-rules/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>nyronium@genthree.io</email>
+ <name>nyronium</name>
+ </maintainer>
+</pkgmetadata>