1 aur/android-sdk-platform-tools r05-1 (221) Platform-Tools for Google Android SDK (adb, aapt, aidl, dexdump and dx) ==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3) ==> ------------------------------------------------------- ==> 1 ==> Downloading android-sdk-platform-tools PKGBUILD from AUR... x adb x PKGBUILD Comment by: DeltaKilo on Tue, 24 May 2011 16:11:12 +0000 Can we add /opt/android-sdk/platform-tools/ to PATH by default. I mean it would be useful. Comment by: Gordin on Tue, 24 May 2011 21:24:34 +0000 What do you mean by default? This package already adds /opt/android-sdk/platform-tools/ to your PATH through scripts in /etc/profile.d/ Comment by: mrstegeman on Fri, 27 May 2011 14:44:17 +0000 Could you apply the following patch to the adb daemon script? This makes it work with the new /sbin/rc.d init script, since that script sets its own PATH. It also lets you start adb on boot in /etc/rc.conf in the DAEMONS array. --- adb 2011-05-18 09:51:44.000000000 -0400 +++ adb.new 2011-05-26 08:12:18.943418443 -0400 @@ -3,7 +3,8 @@ . /etc/rc.conf . /etc/rc.d/functions -DAEMON=adb +DAEMON=adb +DAEMON_PATH=/opt/android-sdk/platform-tools ARGS=start-server [ -r /etc/conf.d/$DAEMON ] . /etc/conf.d/$DAEMON @@ -11,7 +12,7 @@ ARGS=start-server case $1 in start) stat_busy Starting $DAEMON - $DAEMON $ARGS /dev/null + $DAEMON_PATH/$DAEMON $ARGS /dev/null if [ $? = 0 ]; then add_daemon $DAEMON stat_done @@ -22,7 +23,7 @@ case $1 in ;; stop) stat_busy Stopping $DAEMON - $DAEMON kill-server /dev/null + $DAEMON_PATH/$DAEMON kill-server /dev/null if [ $? = 0 ]; then rm_daemon $DAEMON stat_done Comment by: Gordin on Sat, 28 May 2011 11:13:49 +0000 applied the patch Comment by: revel on Sun, 05 Jun 2011 13:27:18 +0000 how about bumping pkgver to r05? Comment by: Gordin on Thu, 09 Jun 2011 21:46:05 +0000 updated First Submitted: Sat, 29 Jan 2011 23:08:22 +0000 android-sdk-platform-tools r05-1 ( Unsupported package: Potentially dangerous ! ) ==> Edit PKGBUILD ? [Y/n] ("A" to abort) ==> ------------------------------------ ==> n ==> android-sdk-platform-tools dependencies: - android-sdk (already installed) - bash (already installed) ==> Continue building android-sdk-platform-tools ? [Y/n] ==> ---------------------------------------------------- ==> ==> Building and installing package ==> Making package: android-sdk-platform-tools r05-1 (Mon Jun 13 17:37:56 EDT 2011) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving Sources... -> Downloading platform-tools_r05-linux.zip... --2011-06-13 17:37:56-- http://dl-ssl.google.com/android/repository/platform-tools_r05-linux.zip Resolving dl-ssl.google.com... 72.14.204.93, 72.14.204.91, 72.14.204.136, ... Connecting to dl-ssl.google.com|72.14.204.93|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 15401414 (15M) [application/zip] Saving to: “platform-tools_r05-linux.zip.part” 100%[================================================================================================================>] 15,401,414 75.3K/s in 2m 16s 2011-06-13 17:40:14 (110 KB/s) - “platform-tools_r05-linux.zip.part” saved [15401414/15401414] -> Found adb ==> Validating source files with sha256sums... platform-tools_r05-linux.zip ... Passed adb ... Passed ==> Extracting Sources... -> Extracting platform-tools_r05-linux.zip with bsdtar ==> Entering fakeroot environment... ==> Starting package()... ==> Tidying install... -> Purging other files... -> Compressing man and info pages... -> Stripping unneeded symbols from binaries and libraries... ==> Creating package... -> Generating .PKGINFO file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: android-sdk-platform-tools r05-1 (Mon Jun 13 17:40:30 EDT 2011) ==> Continue installing android-sdk-platform-tools ? [Y/n] ==> [v]iew package contents [c]heck package with namcap ==> --------------------------------------------------- ==> y resolving dependencies... looking for inter-conflicts... Targets (1): android-sdk-platform-tools-r05-1 Total Download Size: 0.00 MB Total Installed Size: 30.04 MB Proceed with installation? [Y/n] y (1/1) checking package integrity [######################################################] 100% (1/1) checking for file conflicts [######################################################] 100% (1/1) installing android-sdk-platform-tools [######################################################] 100% warning: directory permissions differ on opt/android-sdk/ filesystem: 755 package: 775