summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSalvador Pardiñas2018-06-02 13:32:00 -0300
committerSalvador Pardiñas2018-06-02 13:32:00 -0300
commitee3551377afc2b94ec3b4065028094f45fc3e148 (patch)
treebdda221b58b793c5eda36eb1aad75e5e7571f2dd
parent0f386affc09da5bd171a678283cfda7355702599 (diff)
downloadaur-ee3551377afc2b94ec3b4065028094f45fc3e148.tar.gz
Updated pkgver
-rw-r--r--PKGBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7b310a46833..835986f4dd4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Salvador Pardiñas <darkfm@vera.com.uy>
pkgname=woeusb-git
-pkgver=r689.584e43c
-pkgrel=2
+pkgver=3.2.1.r0.g1aaec5f
+pkgrel=1
pkgdesc="A Linux program to create Windows USB stick installer from a real Windows DVD or an image"
arch=('x86_64')
url="https://github.com/slacka/WoeUSB"
@@ -22,9 +22,8 @@ noextract=()
md5sums=('SKIP')
pkgver() {
- cd "$srcdir/WoeUSB"
-# Git, no tags available
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ cd "$srcdir/WoeUSB"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {