diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-11-15 21:18:17 +0000 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-06-01 16:03:44 +0200 |
commit | 29c36f3d25d33a0753296197ae3ef19cc17f4e24 (patch) | |
tree | 459b82fb47e2b55f459498d12c95a839c745d0e1 | |
parent | aa34aa11690e1c890c3bf004ee6af47a2d154fb9 (diff) | |
download | pkgbuilds-29c36f3d25d33a0753296197ae3ef19cc17f4e24.tar.xz |
youtube-dl-git: Add --long to git-describe
Otherwise git-describe produces an incorrect pkgver right after a commit
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -1,8 +1,8 @@ # Generated by makepkg 4.2.1 -# Mon Jun 1 14:54:54 UTC 2015 +# Mon Jun 1 14:54:55 UTC 2015 pkgbase = youtube-dl-git pkgdesc = A small command-line program to download videos from YouTube.com and a few more sites - pkgver = 2014.11.09 + pkgver = 2014.11.13.r0.g2d42905 pkgrel = 1 url = http://rg3.github.com/ arch = any @@ -1,5 +1,5 @@ pkgname=youtube-dl-git -pkgver=2014.11.09 +pkgver=2014.11.13.r0.g2d42905 pkgrel=1 pkgdesc='A small command-line program to download videos from YouTube.com and a few more sites' @@ -21,7 +21,7 @@ md5sums=('SKIP') pkgver() { cd youtube-dl - git describe | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' + git describe --long | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' } prepare() { |