blob: 6caaebbc5ddfe392d82d42a40d1c02a686937c6d (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=volume_key
pkgver=0.3.12
pkgrel=1
pkgdesc="Library for manipulating storage volume encryption keys"
url="https://pagure.io/volume_key"
arch="all"
license="GPL-2.0-or-later"
makedepends="python3-dev cryptsetup-dev glib-dev gpgme-dev nss-dev"
checkdepends="nss-tools"
subpackages="$pkgname-dev $pkgname-doc py3-$pkgname:_py3"
source="https://releases.pagure.org/volume_key/volume_key-${pkgver}.tar.xz"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--without-python \
--with-python3
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
_py3() {
pkgdesc="$pkgdesc (for python3)"
mkdir -p "$subpkgdir"/usr/lib/
mv "$pkgdir"/usr/lib/python3* "$subpkgdir"/usr/lib
}
sha512sums="d056154c9b9d23e4eb661946dd59ed97e116903a3afcff9d9e29258408082f33dcbb69958724143f6bf191a3da488a03b6c02af287790990ed6459e29d66553c volume_key-0.3.12.tar.xz"
|