summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Hesse2016-07-06 12:54:39 +0200
committerChristian Hesse2016-07-06 12:54:39 +0200
commite05002c76c4cb206e053c3db03866a9ff584eeff (patch)
treeecac1d9f14f6a1386f9198d28701734e23caa994
parent38191e8db3d21ac7edc0ca578070111cdddb50c3 (diff)
downloadaur-e05002c76c4cb206e053c3db03866a9ff584eeff.tar.gz
commit mkinitcpio-ykfde-git 0.6.3.r14.g16cc1d8-1
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e563c47a806..94388282aa0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Mon Apr 4 12:59:27 UTC 2016
+# Wed Jul 6 10:54:39 UTC 2016
pkgbase = mkinitcpio-ykfde-git
pkgdesc = Full disk encryption with Yubikey (Yubico key) - git checkout
- pkgver = 0.6.1.r0.g4b24670
+ pkgver = 0.6.3.r14.g16cc1d8
pkgrel = 1
url = https://github.com/eworm-de/mkinitcpio-ykfde
install = mkinitcpio-ykfde.install
diff --git a/PKGBUILD b/PKGBUILD
index b0e18c0aa2d..e7088d77f40 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Christian Hesse <mail@eworm.de>
pkgname=mkinitcpio-ykfde-git
-pkgver=0.6.1.r0.g4b24670
+pkgver=0.6.3.r14.g16cc1d8
pkgrel=1
pkgdesc='Full disk encryption with Yubikey (Yubico key) - git checkout'
arch=('i686' 'x86_64')
@@ -19,7 +19,9 @@ backup=('etc/ykfde.conf')
pkgver() {
cd mkinitcpio-ykfde/
- if GITTAG="$(git describe --abbrev=0 --tags 2>/dev/null)"; then
+ # usauall I use 'git describe' with '--tags'
+ # skip it here as we want signed tags only
+ if GITTAG="$(git describe --abbrev=0 2>/dev/null)"; then
printf '%s.r%s.g%s' \
"$(sed -e "s/^${pkgname%%-git}//" -e 's/^[-_/a-zA-Z]\+//' -e 's/[-_+]/./g' <<< ${GITTAG})" \
"$(git rev-list --count ${GITTAG}..)" \