Skip to content

Commit

Permalink
dislocker: fix #4435.
Browse files Browse the repository at this point in the history
  • Loading branch information
noptrix committed Dec 30, 2024
1 parent 5a39363 commit 29fb87d
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions packages/dislocker/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
# changes: psf

pkgname=dislocker
pkgver=580.3e7aea1
pkgrel=3
pkgver=v0.7.3.r42.g3e7aea1
pkgrel=1
epoch=1
pkgdesc='Read BitLocker encrypted volumes under Linux.'
arch=('x86_64' 'aarch64')
groups=('blackarch' 'blackarch-crypto')
url='http://www.hsc.fr/ressources/outils/dislocker'
url='https://github.com/Aorimn/dislocker'
license=('GPL2')
depends=('fuse' 'mbedtls' 'ruby')
makedepends=('git' 'make' 'cmake')
Expand All @@ -22,7 +23,12 @@ sha512sums=('SKIP')
pkgver() {
cd $pkgname

echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
( set -o pipefail
git describe --long --tags --abbrev=7 2>/dev/null |
sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "%s.%s" "$(git rev-list --count HEAD)" \
"$(git rev-parse --short=7 HEAD)"
)
}

build() {
Expand Down

0 comments on commit 29fb87d

Please sign in to comment.