summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Bayer2016-05-21 14:56:10 +0200
committerChristoph Bayer2016-05-21 14:56:10 +0200
commit68edf102ac41fc9ee2688effc5b0628edca180f8 (patch)
tree7788dbda91fa986024aa1b98ba13c035335c1779
parent9de52809ad4b8abd9409fff0d98b6ceb98c5efb7 (diff)
downloadaur-68edf102ac41fc9ee2688effc5b0628edca180f8.tar.gz
source profile.d scripts right after installation
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD3
-rw-r--r--android-sdk-platform-tools.install6
3 files changed, 11 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 771b57accc8..4fee255ee76 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,11 @@
# Generated by mksrcinfo v8
-# Thu Dec 31 05:53:17 UTC 2015
+# Sat May 21 12:54:44 UTC 2016
pkgbase = android-sdk-platform-tools
pkgdesc = Platform-Tools for Google Android SDK (adb and fastboot)
pkgver = r23.1.0
- pkgrel = 2
+ pkgrel = 3
url = http://developer.android.com/sdk/index.html
+ install = android-sdk-platform-tools.install
arch = x86_64
license = custom
provides = adb
diff --git a/PKGBUILD b/PKGBUILD
index cbf53ed1aaf..f7a41bd59d0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=android-sdk-platform-tools
pkgver=r23.1.0
-pkgrel=2
+pkgrel=3
pkgdesc='Platform-Tools for Google Android SDK (adb and fastboot)'
arch=('x86_64')
url="http://developer.android.com/sdk/index.html"
@@ -12,6 +12,7 @@ license=('custom')
depends_x86_64=('zlib' 'ncurses')
provides=('adb' 'android-tools')
conflicts=('adb')
+install=$pkgname.install
_sdk="android-sdk"
_tools="opt/${_sdk}/tools"
_ptools="opt/${_sdk}/platform-tools"
diff --git a/android-sdk-platform-tools.install b/android-sdk-platform-tools.install
new file mode 100644
index 00000000000..b53a605e4e4
--- /dev/null
+++ b/android-sdk-platform-tools.install
@@ -0,0 +1,6 @@
+post_install() {
+ source /etc/profile.d/android-sdk-platform-tools.sh
+ source /etc/profile.d/android-sdk-platform-tools.csh
+}
+
+# vim: ft=sh