[arch-commits] Commit in volume_key/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 22:31:59 UTC 2021


    Date: Tuesday, November 30, 2021 @ 22:31:58
  Author: foutrelis
Revision: 429856

archrelease: copy trunk to staging-x86_64

Added:
  volume_key/repos/staging-x86_64/
  volume_key/repos/staging-x86_64/PKGBUILD
    (from rev 429855, volume_key/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: volume_key/repos/staging-x86_64/PKGBUILD (from rev 429855, volume_key/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-11-30 22:31:58 UTC (rev 429856)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=volume_key
+pkgver=0.3.12
+pkgrel=6
+pkgdesc="A library for manipulating storage volume encryption keys and storing them separately from volumes to handle forgotten passphrases"
+arch=('x86_64')
+url="https://pagure.io/volume_key"
+license=('GPL')
+depends=('cryptsetup' 'nss' 'gpgme')
+makedepends=('python' 'swig')
+optdepends=('python: for python bindings')
+source=("https://releases.pagure.org/volume_key/volume_key-$pkgver.tar.xz")
+sha512sums=('d056154c9b9d23e4eb661946dd59ed97e116903a3afcff9d9e29258408082f33dcbb69958724143f6bf191a3da488a03b6c02af287790990ed6459e29d66553c')
+
+prepare() {
+  cd $pkgname-$pkgver
+  
+  find . -name ".pyc" -delete
+}
+
+build() {
+  cd $pkgname-$pkgver
+  export CFLAGS+=" $(python3-config --includes)"
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  sed -i '/#include <config.h>/d' "$pkgdir"/usr/include/volume_key/libvolume_key.h
+}



More information about the arch-commits mailing list