[arch-commits] Commit in hivex/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Jun 21 10:47:02 UTC 2020


    Date: Sunday, June 21, 2020 @ 10:47:00
  Author: foutrelis
Revision: 649111

archrelease: copy trunk to community-staging-x86_64

Added:
  hivex/repos/community-staging-x86_64/
  hivex/repos/community-staging-x86_64/PKGBUILD
    (from rev 649110, hivex/trunk/PKGBUILD)

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

Copied: hivex/repos/community-staging-x86_64/PKGBUILD (from rev 649110, hivex/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-06-21 10:47:00 UTC (rev 649111)
@@ -0,0 +1,50 @@
+# Maintainer: Robin Broda <coderobe @ archlinux.org>
+# Contributor: Brian Bidulock <bidulock at openss7.org>
+# Contributor: Patryk Kowalczyk < patryk at kowalczyk dot ws>
+
+pkgname=hivex
+pkgver=1.3.18
+pkgrel=7
+pkgdesc="System for extracting the contents of Windows Registry."
+arch=("x86_64")
+url="http://libguestfs.org"
+license=("LGPL2.1")
+depends=("libxml2" "perl")
+makedepends=("python2" "ruby" "ruby-rake" "ruby-rdoc" "perl-io-stringy" "perl-test-simple" "ocaml-findlib" "ocaml" "chrpath")
+optdepends=("python2: python bindings"
+	    "ruby: ruby bindings"
+	    "ocaml: ocaml bindings")
+source=("http://libguestfs.org/download/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
+sha512sums=('1851351118921e81df9e505f90d00048a178572c2edd3de40194a69915176bdb615e2eb5afea408d57063e98257c8d1e3d0cd6730407153892cc9e3befc4aa3a'
+            'SKIP')
+validpgpkeys=('F7774FB1AD074A7E8C8767EA91738F73E1B768A0') # Richard W.M. Jones <rjones at redhat.com>
+
+build() {
+    cd "$pkgname-$pkgver"
+
+    ./configure \
+	--bindir=/usr/bin \
+	--libdir=/usr/lib \
+	--prefix=/usr \
+	--disable-rpath \
+	--disable-static PYTHON=python2
+
+    make
+    chrpath -d perl/blib/arch/auto/Win/Hivex/Hivex.so
+}
+
+_perl_depends() {
+# template start; name=perl-binary-module-dependency; version=1;
+if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then
+	_perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);')
+	_perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);')
+	depends+=("perl>=$_perlver_min" "perl<$_perlver_max")
+fi
+# template end;
+}
+
+package() {
+    cd "$pkgname-$pkgver"
+    make DESTDIR="$pkgdir" install
+    _perl_depends
+}



More information about the arch-commits mailing list