diff options
author | Hugo Parente Lima | 2019-10-29 15:57:30 -0300 |
---|---|---|
committer | Hugo Parente Lima | 2019-10-29 16:16:56 -0300 |
commit | aa25210e642a9acae03c4633717f96eee9095451 (patch) | |
tree | bc9d27649771ce7fe36278099e6baffd44b89d1d | |
parent | 3ae35a8ce1da232bcabba62fbffae1c83920d62f (diff) | |
download | aur-aa25210e642a9acae03c4633717f96eee9095451.tar.gz |
Use archlinux branch to create git package.
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -14,13 +14,13 @@ replaces=() backup=() options=() install= -source=('git+https://github.com/hugopl/RubyCreator.git#branch=qtc-3.5') +source=('git+https://github.com/hugopl/RubyCreator.git#branch=archlinux') noextract=() md5sums=('SKIP') pkgver() { cd "$srcdir/RubyCreator" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } build() { |