summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancisco Pina Martins2016-02-19 15:22:41 +0000
committerFrancisco Pina Martins2016-02-19 15:22:41 +0000
commit85c39ff4d6c0a557bf32f2d1ad5eb681b8303629 (patch)
tree4ab14f33af2278fa31aa490cf05504b93ffe973a
parent35cd33ce8926d729815f4697f2c075a1b26f668f (diff)
downloadaur-85c39ff4d6c0a557bf32f2d1ad5eb681b8303629.tar.gz
Updated to conform with latest packaging guidelines.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cff33e4962f..5e074506d59 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = landslide-git
pkgdesc = Generate html5 slideshow from Markdown or reStructuredText sources
- pkgver = 20121108
+ pkgver = 0.4.0.r392.g90b7345
pkgrel = 1
url = http://github.com/adamzap/landslide
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 6baddeb837f..7770e2d1f2d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Stunts <f.pinamartins@gmail.com>
_pkgname=landslide
pkgname=${_pkgname}-git
-pkgver=20121108
+pkgver=0.4.0.r392.g90b7345
pkgrel=1
pkgdesc="Generate html5 slideshow from Markdown or reStructuredText sources"
arch=(any)
@@ -16,7 +16,7 @@ md5sums=('SKIP')
pkgver() {
cd ${srcdir}/${_pkgname}
- git log -1 --format='%cd' --date=short | tr -d --'-'
+ git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {