diff options
author | Franck Lucien Duriez | 2018-12-26 14:40:09 +0000 |
---|---|---|
committer | Franck Lucien Duriez | 2018-12-26 14:40:09 +0000 |
commit | ad450052d7a6c918aa1472996de40998fe96b8af (patch) | |
tree | 493db631187d5a5adc3424f16359d8bebda0afaa | |
parent | d8bb7cbf90f6e1dacefcc6e1c04b3c109e8beaab (diff) | |
download | aur-ad450052d7a6c918aa1472996de40998fe96b8af.tar.gz |
Add dependency to android-udev
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rw-r--r-- | adb-arm64.install | 10 |
3 files changed, 14 insertions, 2 deletions
@@ -3,11 +3,12 @@ pkgbase = adb-arm64 pkgver = 5.1.1 pkgrel = 2 url = http://developer.android.com/sdk/index.html + install = adb-arm64.install arch = aarch64 license = custom depends = zlib depends = ncurses - depends = repo + depends = android-udev provides = adb conflicts = adb source = adb.service @@ -7,9 +7,10 @@ pkgdesc='adb for Raspberry 3' arch=('aarch64') url='http://developer.android.com/sdk/index.html' license=('custom') -depends=('zlib' 'ncurses' 'repo') +depends=('zlib' 'ncurses' 'android-udev') provides=('adb') conflicts=('adb') +install="adb-arm64.install" source=("adb.service" "license.html" "Makefile") diff --git a/adb-arm64.install b/adb-arm64.install new file mode 100644 index 000000000000..365dcd81e420 --- /dev/null +++ b/adb-arm64.install @@ -0,0 +1,10 @@ +pre_install() { + echo "############################################################################" + echo "## You should add current user to 'adbusers' group to be able to use adb. ##" + echo "## You will also probably need to reboot as udev rules changed. ##" + echo "############################################################################" +} + +pre_upgrade() { + pre_install +} |