summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorrelrelb2020-08-05 21:23:49 +0300
committerrelrelb2020-08-05 21:23:49 +0300
commit51ca22a952b2eace8513347e5f3f8bddfebd5ded (patch)
tree972098d89a8a9c91ab9245266b02aec4bb32c8ba /PKGBUILD
parent0416a4464bcbb670bfa89b030753cd90f7a1d77d (diff)
downloadaur-51ca22a952b2eace8513347e5f3f8bddfebd5ded.tar.gz
Small improvements
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
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() {