diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-05-26 12:49:51 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-05-26 12:49:51 -0300 |
commit | d21915a8e1c4130cbd5cf6d0d58ae8448de8b085 (patch) | |
tree | a383814d0c248bb11543ca8a3e7f1a6c721c7455 /pcr/android-udev | |
parent | 7093cd981cafcf8dcf5619d4c5a7876c9acade4f (diff) | |
parent | de4f0d5e3c54d11f8ef1fa859bc64089924b1bbc (diff) |
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/android-udev')
-rw-r--r-- | pcr/android-udev/PKGBUILD | 26 | ||||
-rw-r--r-- | pcr/android-udev/android-udev.install | 12 |
2 files changed, 0 insertions, 38 deletions
diff --git a/pcr/android-udev/PKGBUILD b/pcr/android-udev/PKGBUILD deleted file mode 100644 index 000953e1f..000000000 --- a/pcr/android-udev/PKGBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> -# Maintainer (AUR): M0Rf30 -# Contributor (Arch): marlock - -pkgname=android-udev -pkgver=20130911 -_gitver=8dfd1cd0002d7067d24a2ef89360212f164f3856 -url="https://github.com/M0Rf30/android-udev-rules" -pkgdesc='Udev rules to for Android devices.' - -# The author is the maintainer of the AUR package, where it is listed as GPL; -# this is the best hint to the license that we have. -license=('GPL') - -pkgrel=1 -arch=('any') -source=("51-android-$pkgver.rules::https://raw.github.com/M0Rf30/android-udev-rules/$_gitver/51-android.rules") -depends=('systemd' 'libmtp') -install='android-udev.install' - -package() { - cd "$srcdir" - install -Dm755 "$srcdir"/51-android-$pkgver.rules "$pkgdir"/usr/lib/udev/rules.d/51-android.rules -} - -md5sums=('1b2033fcf52b1b0ffa807ba90b11fd14') diff --git a/pcr/android-udev/android-udev.install b/pcr/android-udev/android-udev.install deleted file mode 100644 index dcb1ebc20..000000000 --- a/pcr/android-udev/android-udev.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - post_upgrade - echo "NOTE: To use adb as a normal user you have to add yourself to the adbusers group" -} - -post_upgrade() { - { getent group adbusers || /usr/sbin/groupadd adbusers; } &>/dev/null -} - -post_remove() { - getent group adbusers &>/dev/null && /usr/sbin/groupdel adbusers -} |