summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Perez de Castro2014-09-21 13:34:57 +0300
committerAdrian Perez de Castro2015-06-15 01:12:16 +0200
commitc8ce17cf6bb7923a9c13782b015881b2d41beb1f (patch)
tree71b0e23af6c89fd97368f008a5959380bd05fb51
parent29f85193af303a8c8f40dfe9c00d5fe2b4d5b6a7 (diff)
downloadaur-c8ce17cf6bb7923a9c13782b015881b2d41beb1f.tar.gz
depot-tools-git: Fix yet more scripts
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD23
2 files changed, 22 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b71e83722eb..6cb159c02cd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = depot-tools-git
pkgdesc = Build tools for working with Chromium development, include gclient
- pkgver = r2457.34504a1
+ pkgver = r2484.c15fe57
pkgrel = 1
url = http://dev.chromium.org/developers/how-tos/install-depot-tools
install = depot_tools.install
diff --git a/PKGBUILD b/PKGBUILD
index d90d36403e5..6e85fe7052e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
# Contributor: hack.augusto <hack.augusto@gmail.com>
pkgname=depot-tools-git
-pkgver=r2457.34504a1
+pkgver=r2484.c15fe57
pkgrel=1
pkgdesc='Build tools for working with Chromium development, include gclient'
arch=('any')
@@ -25,6 +25,25 @@ md5sums=('SKIP'
'fb0c546a078c312aa64c1f2a31599557')
install="depot_tools.install"
+scripts_to_fix=(
+ apply_issue
+ drover
+ gcl
+ git-cl
+ git-gs
+ git-try
+ hammer
+ weekly
+ wtf
+ update_depot_tools
+ fetch
+ download_from_google_storage
+ gn
+ clang-format
+ git-runhooks
+ roll-dep
+)
+
pkgver () {
cd "${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
@@ -56,7 +75,7 @@ prepare () {
sed -r -i -e 's/"exec" python/"exec" python2/' repo
# Fixing scripts in root folder
- for script in {apply_issue,drover,gcl,git-cl,git-gs,git-try,hammer,weekly,wtf,update_depot_tools}
+ for script in "${scripts_to_fix[@]}"
do
sed -r -i -e 's/exec python/exec python2/' \
-e 's/#!(.*)python.*/#!\1python2/' \