PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/utils/volume_key/PAGBUILD.yaml main

47 lines Raw ← Back
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
pkgname: volume_key
pkgver: '0.3.12'
pkgrel: '14'
pkgdesc: Storage volume encryption keys and storing them separately from volumes to handle forgotten passphrases.
url: 'https://releases.pagure.org/'
arch: x86_64
depends:
- python
- cryptsetup
- glib
- gpgme
- libassuan
- libgpg-error
- nspr
- nss
- util-linux
makedepends:
- systemd
- python
- nss
- cryptsetup
- glib
- gpgme
- swig
source:
- 'https://releases.pagure.org/volume_key/volume_key-${pkgver}.tar.xz'
sha256sums:
- 6ca3748fc1dad22c450bbf6601d4e706cb11c5e662d11bb4aeb473a9cd77309b
build: |
  cd ${pkgname}-${pkgver}
  autoreconf -fiv
          find . -name ".pyc" -delete

  export CFLAGS+=" $(python3-config --includes)"

  ./configure --prefix=/usr

  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool

  make
  make DESTDIR=${PKGDIR} install
  #sed -i '/config.h/d' ${PKGDIR}/usr/include/volume_key/libvolume_key.h

  # Obsolet lib
  rm -f ${PKGDIR}/usr/lib/libvolume_key.la
package: |
  true