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

2020-06-21 Thread Evangelos Foutras via arch-commits
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 
+# Contributor: Brian Bidulock 
+# 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 

+
+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
+}


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

2019-12-25 Thread Felix Yan via arch-commits
Date: Thursday, December 26, 2019 @ 01:44:27
  Author: felixonmars
Revision: 541803

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: hivex/repos/community-staging-x86_64/PKGBUILD (from rev 541802, 
hivex/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-12-26 01:44:27 UTC (rev 541803)
@@ -0,0 +1,50 @@
+# Maintainer: Robin Broda 
+# Contributor: Brian Bidulock 
+# Contributor: Patryk Kowalczyk < patryk at kowalczyk dot ws>
+
+pkgname=hivex
+pkgver=1.3.18
+pkgrel=4
+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 

+
+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
+}