diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-11-19 03:22:47 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-11-19 03:22:47 -0500 |
commit | fb4f79ab4c65cb4d868b148230e4a6ec1eaabce4 (patch) | |
tree | f586f75612c5b6b744961a2b1ee47aba59dd7bed /~lukeshu/android-udev | |
parent | 3aabd6016344dab798425905a50bc4acc392f8ea (diff) |
move packages that are straight from AUR into [~aur]
Diffstat (limited to '~lukeshu/android-udev')
-rw-r--r-- | ~lukeshu/android-udev/51-android.rules | 133 | ||||
-rw-r--r-- | ~lukeshu/android-udev/PKGBUILD | 23 | ||||
-rw-r--r-- | ~lukeshu/android-udev/android-udev.install | 15 |
3 files changed, 0 insertions, 171 deletions
diff --git a/~lukeshu/android-udev/51-android.rules b/~lukeshu/android-udev/51-android.rules deleted file mode 100644 index c9570959c..000000000 --- a/~lukeshu/android-udev/51-android.rules +++ /dev/null @@ -1,133 +0,0 @@ -# Acer -SUBSYSTEM=="usb", ATTR{idVendor}=="0502", MODE="0666", GROUP="adbusers" -# ICONIA TAB A500 -SUBSYSTEM=="usb", ATTR{idVendor}=="0502", ATTR{idProduct}=="3325", SYMLINK+="android_adb" -SUBSYSTEM=="usb", ATTR{idVendor}=="0502", ATTR{idProduct}=="3325", SYMLINK+="android_fastboot" - -# Archos -SUBSYSTEM=="usb", ATTR{idVendor}=="0e79", MODE="0666", GROUP="adbusers" -# 43 -SUBSYSTEM=="usb", ATTR{idVendor}=="0e79", ATTR{idProduct}=="1417", SYMLINK+="android_adb" -SUBSYSTEM=="usb", ATTR{idVendor}=="0e79", ATTR{idProduct}=="1417", SYMLINK+="android_fastboot" -# 101 -SUBSYSTEM=="usb", ATTR{idVendor}=="0e79", ATTR{idProduct}=="1411", SYMLINK+="android_adb" -SUBSYSTEM=="usb", ATTR{idVendor}=="0e79", ATTR{idProduct}=="1411", SYMLINK+="android_fastboot" - -# Asus -SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", MODE="0666", GROUP="adbusers" - -# Dell -SUBSYSTEM=="usb", ATTR{idVendor}=="413c", MODE="0666", GROUP="adbusers" - -# Foxconn -SUBSYSTEM=="usb", ATTR{idVendor}=="0489", MODE="0666", GROUP="adbusers" - -# Garmin-Asus -SUBSYSTEM=="usb", ATTR{idVendor}=="091e", MODE="0666", GROUP="adbusers" - -# Google -SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="adbusers" -# NEXUS S -SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e21", SYMLINK+="android_adb" -SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="4e21", SYMLINK+="android_fastboot" - -# Hero (chinese phone...) -SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="adbusers" -# Hero H2000 -SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0001", SYMLINK+="android_adb" -SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", ATTR{idProduct}=="0001", SYMLINK+="android_fastboot" - -# HTC -SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="adbusers" - -# Huawei -SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", MODE="0666", GROUP="adbusers" - -# K-Touch -SUBSYSTEM=="usb", ATTR{idVendor}=="24e3", MODE="0666", GROUP="adbusers" - -# KT Tech -SUBSYSTEM=="usb", ATTR{idVendor}=="2116", MODE="0666", GROUP="adbusers" - -# Kyocera -SUBSYSTEM=="usb", ATTR{idVendor}=="0482", MODE="0666", GROUP="adbusers" - -# Lenevo -SUBSYSTEM=="usb", ATTR{idVendor}=="17ef", MODE="0666", GROUP="adbusers" - -# LG -SUBSYSTEM=="usb", ATTR{idVendor}=="1004", MODE="0666", GROUP="adbusers" -# LG (Swift) GT540 -SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d00d", SYMLINK+="android_fastboot" - -# Motorola -SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="0666", GROUP="adbusers" -# -- Xoom ID 1 -SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="70a8",SYMLINK+="android_adb" -SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="70a8",SYMLINK+="android_fastboot" -# -- Xoom ID 2 -SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="70a9",SYMLINK+="android_adb" -SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="70a9",SYMLINK+="android_fastboot" - -# NEC -SUBSYSTEM=="usb", ATTR{idVendor}=="0409", MODE="0666", GROUP="adbusers" - -# Nook -SUBSYSTEM=="usb", ATTR{idVendor}=="2080", MODE="0666", GROUP="adbusers" - -# Nvidia -SUBSYSTEM=="usb", ATTR{idVendor}=="0955", MODE="0666", GROUP="adbusers" - -# OTGV -SUBSYSTEM=="usb", ATTR{idVendor}=="2257", MODE="0666", GROUP="adbusers" - -# Pantech -SUBSYSTEM=="usb", ATTR{idVendor}=="10A9", MODE="0666", GROUP="adbusers" - -# Philips -SUBSYSTEM=="usb", ATTR{idVendor}=="0471", MODE="0666", GROUP="adbusers" - -# PMC-Sierra -SUBSYSTEM=="usb", ATTR{idVendor}=="04da", MODE="0666", GROUP="adbusers" - -# Qualcomm -SUBSYSTEM=="usb", ATTR{idVendor}=="05c6", MODE="0666", GROUP="adbusers" - -# SK Telesys -SUBSYSTEM=="usb", ATTR{idVendor}=="1f53", MODE="0666", GROUP="adbusers" - -# Samsung -SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666", GROUP="adbusers" -# Galaxy Tab -SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6877", SYMLINK+="android_adb" -SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6877", SYMLINK+="android_fastboot" -# Galaxy Tab 10.1 -SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="685e", SYMLINK+="android_adb" -SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="685e", SYMLINK+="android_fastboot" -SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1" -# Galaxy i5800 -SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="681c", SYMLINK+="android_adb" -SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6601", SYMLINK+="android_fastboot" -SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="68a9", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1" -# Galaxy i7500 -SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6640", SYMLINK+="android_adb" -SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6640", SYMLINK+="android_fastboot" -# Galaxy S -SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="6601", MODE="0666" -SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="685d", MODE="0666" -SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", ATTR{idProduct}=="68c3", MODE="0666" - -# Sharp -SUBSYSTEM=="usb", ATTR{idVendor}=="04dd", MODE="0666", GROUP="adbusers" - -# Sony Ericsson -SUBSYSTEM=="usb", ATTR{idVendor}=="0fce", MODE="0666", GROUP="adbusers" - -# Toshiba -SUBSYSTEM=="usb", ATTR{idVendor}=="0930", MODE="0666", GROUP="adbusers" - -# ZTE -SUBSYSTEM=="usb", ATTR{idVendor}=="19d2", MODE="0666", GROUP="adbusers" -# Blade -SUBSYSTEM=="usb", ATTR{idVendor}=="19d2", ATTR{idProduct}=="1354", SYMLINK+="android_adb" -SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", ATTR{idProduct}=="d00d", SYMLINK+="android_fastboot" diff --git a/~lukeshu/android-udev/PKGBUILD b/~lukeshu/android-udev/PKGBUILD deleted file mode 100644 index d3028a0d9..000000000 --- a/~lukeshu/android-udev/PKGBUILD +++ /dev/null @@ -1,23 +0,0 @@ -#Mantainer M0Rf30 -#Contributor marlock -pkgname=android-udev -pkgver=0.6 -pkgrel=3 -pkgdesc='Udev rules to connect Android devices to your linux box' -arch=('any') -url="http://developer.android.com/guide/developing/device.html" -license=('unknown') -source=('51-android.rules') -depends=('udev' 'libmtp') -conflicts=('udev-android-rules') -install='android-udev.install' - - -build() { - - mkdir -p $pkgdir/etc/udev/rules.d/ - cp $srcdir/51-android.rules $pkgdir/etc/udev/rules.d/51-android.rules - chmod a+r $pkgdir/etc/udev/rules.d/51-android.rules - -} -md5sums=('f3522d98be78faa7ca9ce2d71963f96c') diff --git a/~lukeshu/android-udev/android-udev.install b/~lukeshu/android-udev/android-udev.install deleted file mode 100644 index c861f2b70..000000000 --- a/~lukeshu/android-udev/android-udev.install +++ /dev/null @@ -1,15 +0,0 @@ -post_install() { -getent group adbusers >> /dev/null || /usr/sbin/groupadd adbusers || return 1 -/bin/cat << EOF -===> In order to use adb, you have to be in the 'adbusers' group -===> For that, use: gpasswd -a USERNAME adbusers -EOF -} - -post_upgrade() { -post_install -} - -post_remove() { -getent group adbusers &>/dev/null && /usr/sbin/groupdel adbusers -} |