summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorvlad2015-07-08 20:53:51 +0300
committervlad2015-07-08 20:53:51 +0300
commitf98717c8a26e526722f6973d5cfa648b1b47797c (patch)
treea7f42bc9057c3a237682248c3ea53bda16760ec3
parentbd065e0a9e2071bc4711120ddf7344cb9a3d3306 (diff)
downloadaur-f98717c8a26e526722f6973d5cfa648b1b47797c.tar.gz
Add 'android-tools' to provides
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD15
2 files changed, 15 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 93654c6f00c..a698853492d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,13 @@
pkgbase = android-sdk-platform-tools
pkgdesc = Platform-Tools for Google Android SDK (adb and fastboot)
pkgver = r22
- pkgrel = 2
+ pkgrel = 3
url = http://developer.android.com/sdk/index.html
arch = i686
arch = x86_64
license = custom
- depends = gcc-libs
- depends = zlib
- depends = ncurses
provides = adb
+ provides = android-tools
conflicts = adb
source = https://dl-ssl.google.com/android/repository/platform-tools_r22-linux.zip
source = adb.service
@@ -17,6 +15,12 @@ pkgbase = android-sdk-platform-tools
sha256sums = 8164ae019f54854a8c4230b4a6208c0205f0014f6a141b066146abe6be2b77cd
sha256sums = 1c219abea7584ae13f3f76b04e269ef21c1699d6bd29b7615523f927a9d10deb
sha256sums = a7f3a259290ae6a5dc61bd34ecae36e2b7e2f644865ddc3c7fde5d248b8a7cef
+ depends_i686 = gcc-libs
+ depends_i686 = zlib
+ depends_i686 = ncurses
+ depends_x86_64 = lib32-gcc-libs
+ depends_x86_64 = lib32-zlib
+ depends_x86_64 = lib32-ncurses
pkgname = android-sdk-platform-tools
diff --git a/PKGBUILD b/PKGBUILD
index 5e51f3bcf80..0f98e51ebed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,18 @@
-# Maintainer: Gordin <9ordin @t gmail dot com>
+# Maintainer: Vlad M. <vlad@archlinux.net>
+# Contributor: Gordin <9ordin @t gmail dot com>
pkgname=android-sdk-platform-tools
pkgver=r22
-pkgrel=2
+pkgrel=3
pkgdesc='Platform-Tools for Google Android SDK (adb and fastboot)'
arch=('i686' 'x86_64')
url="http://developer.android.com/sdk/index.html"
license=('custom')
-depends=('gcc-libs' 'zlib' 'ncurses')
-if [[ $CARCH = x86_64 ]]; then
- depends=('lib32-gcc-libs' 'lib32-zlib' 'lib32-ncurses')
-fi
-provides=('adb')
+depends_i686=('gcc-libs' 'zlib' 'ncurses')
+depends_x86_64=('lib32-gcc-libs' 'lib32-zlib' 'lib32-ncurses')
+provides=('adb' 'android-tools')
conflicts=('adb')
-_sdk=android-sdk
+_sdk="android-sdk"
_tools="opt/${_sdk}/tools"
_ptools="opt/${_sdk}/platform-tools"