diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 16 insertions, 8 deletions
@@ -1,6 +1,8 @@ +# Generated by mksrcinfo v8 +# Mon Apr 4 12:59:27 UTC 2016 pkgbase = mkinitcpio-ykfde-git pkgdesc = Full disk encryption with Yubikey (Yubico key) - git checkout - pkgver = 0.5.0.r15.g06fc9a2 + pkgver = 0.6.1.r0.g4b24670 pkgrel = 1 url = https://github.com/eworm-de/mkinitcpio-ykfde install = mkinitcpio-ykfde.install @@ -13,6 +15,7 @@ pkgbase = mkinitcpio-ykfde-git depends = cryptsetup depends = iniparser depends = libarchive + depends = keyutils provides = mkinitcpio-ykfde conflicts = mkinitcpio-ykfde backup = etc/ykfde.conf @@ -1,16 +1,16 @@ # Maintainer: Christian Hesse <mail@eworm.de> pkgname=mkinitcpio-ykfde-git -pkgver=0.5.0.r15.g06fc9a2 +pkgver=0.6.1.r0.g4b24670 pkgrel=1 -pkgdesc="Full disk encryption with Yubikey (Yubico key) - git checkout" +pkgdesc='Full disk encryption with Yubikey (Yubico key) - git checkout' arch=('i686' 'x86_64') -url="https://github.com/eworm-de/mkinitcpio-ykfde" +url='https://github.com/eworm-de/mkinitcpio-ykfde' license=('GPL') +depends=('yubikey-personalization' 'cryptsetup' 'iniparser' 'libarchive' 'keyutils') +makedepends=('git' 'markdown') conflicts=('mkinitcpio-ykfde') provides=('mkinitcpio-ykfde') -depends=('yubikey-personalization' 'cryptsetup' 'iniparser' 'libarchive') -makedepends=('git' 'markdown') install=mkinitcpio-ykfde.install source=('git://github.com/eworm-de/mkinitcpio-ykfde.git') sha256sums=('SKIP') @@ -20,9 +20,14 @@ pkgver() { cd mkinitcpio-ykfde/ if GITTAG="$(git describe --abbrev=0 --tags 2>/dev/null)"; then - echo "$(sed -e "s/^${pkgname%%-git}//" -e 's/^[-_/a-zA-Z]\+//' -e 's/[-_+]/./g' <<< ${GITTAG}).r$(git rev-list --count ${GITTAG}..).g$(git log -1 --format="%h")" + 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}..)" \ + "$(git log -1 --format='%h')" else - echo "0.r$(git rev-list --count master).g$(git log -1 --format="%h")" + printf '0.r%s.g%s' \ + "$(git rev-list --count master)" \ + "$(git log -1 --format='%h')" fi } |