aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-11-15 21:18:17 +0000
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:44 +0200
commit29c36f3d25d33a0753296197ae3ef19cc17f4e24 (patch)
tree459b82fb47e2b55f459498d12c95a839c745d0e1
parentaa34aa11690e1c890c3bf004ee6af47a2d154fb9 (diff)
downloadpkgbuilds-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--.SRCINFO4
-rw-r--r--PKGBUILD4
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() {