diff options
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,6 +1,6 @@ pkgname=gstopwatch-git pkgbase=gstopwatch -pkgver=20130331 +pkgver=2013.03.28 pkgrel=1 pkgdesc="A simple stopwatch, written in GTK3." arch=(any) @@ -11,6 +11,11 @@ depends=('gtk3') _gitroot="https://github.com/Unia/$pkgbase" _gitname="$pkgbase" +pkgver() { + cd "$srcdir/$_gitname" + git log -1 --format="%cd" --date=short | sed 's|-|.|g' +} + build() { cd "$srcdir" msg "Connecting to GIT server..." |