summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIru Cai2018-09-27 10:03:11 +0800
committerIru Cai2018-09-27 10:03:11 +0800
commit60c97997bf24c7c809eaf7e66bfd7552d0fa901d (patch)
treeb61c2bc50402de61856d840843e2271c0569a83d
parent29730ae1ac053bfa8a96622e2fd411019f7c832b (diff)
downloadaur-60c97997bf24c7c809eaf7e66bfd7552d0fa901d.tar.gz
replace - with . in git version
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2ec993ad0fe..4da944a8875 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = liveusb-builder-git
pkgdesc = A script suite to create multiboot USB stick for GNU/Linux distributions
- pkgver = 2018.07
+ pkgver = 2018.09.2.g4fad072
pkgrel = 1
url = https://github.com/mytbk/liveusb-builder
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 0a21f090a60..0b9b3c60ce7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Iru Cai <mytbk920423@gmail.com>
pkgname=liveusb-builder-git
-pkgver=2018.07
+pkgver=2018.09.2.g4fad072
pkgrel=1
pkgdesc='A script suite to create multiboot USB stick for GNU/Linux distributions'
license=('GPL3')
@@ -23,5 +23,6 @@ package() {
pkgver() {
cd "$srcdir/liveusb-builder"
- git describe --always
+ git describe --always | sed 's/-/./g'
+
}