diff options
author | BlackEagle | 2013-11-25 20:55:09 +0100 |
---|---|---|
committer | BlackEagle | 2015-07-05 22:33:14 +0200 |
commit | 4841fc2ce58f03bdd276d4e04ea99f96ca7b5d38 (patch) | |
tree | 819b98d2aee6d52f6388528e93bd982e7297af5d | |
parent | 2fecbc6e67f81f12467fc385622405abb746f164 (diff) | |
download | aur-4841fc2ce58f03bdd276d4e04ea99f96ca7b5d38.tar.gz |
herecura-testing :: add .pkgupdate files to avoid useless rebuilds
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
-rw-r--r-- | .pkgupdate | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.pkgupdate b/.pkgupdate new file mode 100644 index 000000000000..a1d5e28b351a --- /dev/null +++ b/.pkgupdate @@ -0,0 +1,7 @@ +checksumupdate=0 +update_pkgver="" +pwd=$PWD +cd $SRCDEST/$_gitname +git fetch --all -p +update_pkgver=$(echo $(git log -1 --format="%ci" | sed 's/.*\([0-9]\{4\}\)-\([0-9]\{2\}\)-\([0-9]\{2\}\).*/\1\2\3/').$(git rev-parse --short HEAD)) +cd $pwd |