🔒 Repository is read-only – file editing is disabled.

recipes/utils/volume_key/PAGBUILD.yaml main

39 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233343536373839
pkgname: volume_key
pkgver: '0.3.12'
pkgrel: '13'
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
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