summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorrelrelb2020-08-05 21:23:49 +0300
committerrelrelb2020-08-05 21:23:49 +0300
commit51ca22a952b2eace8513347e5f3f8bddfebd5ded (patch)
tree972098d89a8a9c91ab9245266b02aec4bb32c8ba
parent0416a4464bcbb670bfa89b030753cd90f7a1d77d (diff)
downloadaur-51ca22a952b2eace8513347e5f3f8bddfebd5ded.tar.gz
Small improvements
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD5
2 files changed, 7 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1d7df38fc7b..adb397236c4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = android-completion
pkgdesc = Bash completion for adb and fastboot
- pkgver = 20200805.03325fb85
+ pkgver = 20200805193204.a39e39f
pkgrel = 1
url = https://android.googlesource.com/platform/system/core/
arch = any
@@ -8,8 +8,9 @@ pkgbase = android-completion
depends = android-sdk-platform-tools
depends = bash
depends = bash-completion
- source = adb.bash.b64::https://android.googlesource.com/platform/system/core/+/03325fb85/adb/adb.bash?format=TEXT
- source = fastboot.bash.b64::https://android.googlesource.com/platform/system/core/+/03325fb85/fastboot/fastboot.bash?format=TEXT
+ conflicts = android-bash-completion
+ source = adb.bash.b64::https://android.googlesource.com/platform/system/core/+/a39e39f/adb/adb.bash?format=TEXT
+ source = fastboot.bash.b64::https://android.googlesource.com/platform/system/core/+/a39e39f/fastboot/fastboot.bash?format=TEXT
source = android-completion.patch
sha512sums = 450cdf58661537b0d1fcdf191a6b635ac87eb3cfeb3187106409bb92f71ae0b73df27a0fa2c7b1a2e16552ed04e6b0660e88e737058abf6b97051558564d85fb
sha512sums = 7a386704e5cb02ffcc921e3f6db81401ec292dcd18374bae9cdd68d086baf52905cc2db75c3f661eb06fdc1a8401f2cc40b7ba9dd249be4e235052a003ca90b5
diff --git a/PKGBUILD b/PKGBUILD
index 6e61e46dc62..6884ee9adae 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,13 @@
# Maintainer: relrelb <relrelbachar@gmail.com>
pkgname=android-completion
-pkgver=20200805.a39e39fe3
+pkgver=20200805193204.a39e39f
pkgrel=1
pkgdesc="Bash completion for adb and fastboot"
arch=(any)
url="https://android.googlesource.com/platform/system/core/"
license=('GPL')
depends=('android-sdk-platform-tools' 'bash' 'bash-completion')
+conflicts=('android-bash-completion')
_commit=$(echo $pkgver | cut -d. -f2)
source=("adb.bash.b64::https://android.googlesource.com/platform/system/core/+/$_commit/adb/adb.bash?format=TEXT"
"fastboot.bash.b64::https://android.googlesource.com/platform/system/core/+/$_commit/fastboot/fastboot.bash?format=TEXT"
@@ -24,7 +25,7 @@ pkgver() {
time=$(echo $timestamp | cut -d' ' -f4)
year=$(echo $timestamp | cut -d' ' -f5)
timezone=$(echo $timestamp | cut -d' ' -f6)
- printf "%s.%s" $(date -d "${day} ${month} ${year} ${time} ${timezone}" +%Y%m%d) ${commit:0:9}
+ printf "%s.%s" $(date -d "${day} ${month} ${year} ${time} ${timezone}" +%Y%m%d%H%M%S) ${commit:0:7}
}
prepare() {