android-tools: extract update_* to external update file

This commit is contained in:
Eivind Uggedal 2015-01-15 11:17:31 +00:00
parent 371229af2f
commit ae9622ec9f
2 changed files with 2 additions and 2 deletions

View file

@ -10,8 +10,6 @@ short_desc="Android platform tools (adb and fastboot)"
maintainer="Eivind Uggedal <eivind@uggedal.com>" maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="Apache-2.0 BSD" license="Apache-2.0 BSD"
homepage="http://developer.android.com/tools/help/adb.html" homepage="http://developer.android.com/tools/help/adb.html"
update_site="https://android.googlesource.com/platform/system/core"
update_pattern='android-\K[\d._r]+'
do_fetch() { do_fetch() {
local r local r

View file

@ -0,0 +1,2 @@
site="https://android.googlesource.com/platform/system/core"
pattern='android-\K[\d._r]+'