aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dislocker/APKBUILD
blob: 0c5cae269f336df329518194e0d105020e39df6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=dislocker
pkgver=0.7.1
pkgrel=3
pkgdesc="Read/write Windows BitLocker-ed volumes."
url="https://github.com/Aorimn/dislocker"
arch="all"
license="GPL-2.0-or-later"
options="!check" # No test suite
makedepends="cmake make fuse-dev mbedtls-dev ruby-dev"
subpackages="$pkgname-doc $pkgname-libs"
source="$pkgname-$pkgver.tar.gz::https://github.com/Aorimn/dislocker/archive/v$pkgver.tar.gz"

build() {
	cd "$builddir"
	cmake -DCMAKE_INSTALL_PREFIX=/usr .
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="8852ba3e363fdea992eebecfe1e4dad2b85404f57c57ce6b2937a9859d03cfa88d969926c9e11e6d22596c6d96805b7d1737893ae2c5a957448ab26708bce226  dislocker-0.7.1.tar.gz"