From 29c36f3d25d33a0753296197ae3ef19cc17f4e24 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 15 Nov 2014 21:18:17 +0000 Subject: youtube-dl-git: Add --long to git-describe Otherwise git-describe produces an incorrect pkgver right after a commit --- .SRCINFO | 4 ++-- PKGBUILD | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index bc6a76f..ace5ea4 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -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 diff --git a/PKGBUILD b/PKGBUILD index a968c85..74f52a5 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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() { -- cgit v1.2.3-70-g09d2