[arch-commits] Commit in volume_key/repos (4 files)

Felix Yan felixonmars at archlinux.org
Tue Jun 6 16:56:46 UTC 2017


    Date: Tuesday, June 6, 2017 @ 16:56:46
  Author: felixonmars
Revision: 298089

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  volume_key/repos/extra-i686/
  volume_key/repos/extra-i686/PKGBUILD
    (from rev 298088, volume_key/trunk/PKGBUILD)
  volume_key/repos/extra-x86_64/
  volume_key/repos/extra-x86_64/PKGBUILD
    (from rev 298088, volume_key/trunk/PKGBUILD)

-----------------------+
 extra-i686/PKGBUILD   |   33 +++++++++++++++++++++++++++++++++
 extra-x86_64/PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

Copied: volume_key/repos/extra-i686/PKGBUILD (from rev 298088, volume_key/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2017-06-06 16:56:46 UTC (rev 298089)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=volume_key
+pkgver=0.3.9
+pkgrel=1
+pkgdesc="A library for manipulating storage volume encryption keys and storing them separately from volumes to handle forgotten passphrases"
+arch=('i686' 'x86_64')
+url="https://pagure.io/volume_key"
+license=('GPL')
+depends=('cryptsetup' 'nss' 'gpgme' 'python')
+makedepends=('swig')
+source=("https://github.com/felixonmars/volume_key/archive/volume_key-$pkgver.tar.gz")
+sha512sums=('f013cecee09429a1bcabcce0ec1e9c531fa396a1233f90f1f09272dd8a2e3a0e013eb2f3fb5c215abb15225445feb05cee175a06f06ae5e0220cc953ab80a027')
+
+prepare() {
+  cd "$srcdir"/volume_key-volume_key-$pkgver
+  sed -e 's/-lpython\$(PYTHON_VERSION)/-lpython$(PYTHON_VERSION)m/' -i Makefile.am
+  autoreconf -i
+
+  find . -name ".pyc" -delete
+}
+
+build() {
+  cd "$srcdir"/volume_key-volume_key-$pkgver
+  ./configure --prefix=/usr
+  make PYTHON_CPPFLAGS="$(pkg-config --cflags python3)"
+}
+
+package() {
+  cd "$srcdir"/volume_key-volume_key-$pkgver
+  make DESTDIR="$pkgdir" install
+}

Copied: volume_key/repos/extra-x86_64/PKGBUILD (from rev 298088, volume_key/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2017-06-06 16:56:46 UTC (rev 298089)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=volume_key
+pkgver=0.3.9
+pkgrel=1
+pkgdesc="A library for manipulating storage volume encryption keys and storing them separately from volumes to handle forgotten passphrases"
+arch=('i686' 'x86_64')
+url="https://pagure.io/volume_key"
+license=('GPL')
+depends=('cryptsetup' 'nss' 'gpgme' 'python')
+makedepends=('swig')
+source=("https://github.com/felixonmars/volume_key/archive/volume_key-$pkgver.tar.gz")
+sha512sums=('f013cecee09429a1bcabcce0ec1e9c531fa396a1233f90f1f09272dd8a2e3a0e013eb2f3fb5c215abb15225445feb05cee175a06f06ae5e0220cc953ab80a027')
+
+prepare() {
+  cd "$srcdir"/volume_key-volume_key-$pkgver
+  sed -e 's/-lpython\$(PYTHON_VERSION)/-lpython$(PYTHON_VERSION)m/' -i Makefile.am
+  autoreconf -i
+
+  find . -name ".pyc" -delete
+}
+
+build() {
+  cd "$srcdir"/volume_key-volume_key-$pkgver
+  ./configure --prefix=/usr
+  make PYTHON_CPPFLAGS="$(pkg-config --cflags python3)"
+}
+
+package() {
+  cd "$srcdir"/volume_key-volume_key-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list