upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / hivex / trunk / PKGBUILD
blob5359f2b85c09bd890b805692ac2ee0399c772b26
1 # Maintainer: Robin Broda <coderobe @ archlinux.org>
2 # Contributor: Brian Bidulock <bidulock@openss7.org>
3 # Contributor: Patryk Kowalczyk < patryk at kowalczyk dot ws>
5 pkgname=hivex
6 pkgver=1.3.21
7 pkgrel=8
8 pkgdesc="System for extracting the contents of Windows Registry."
9 arch=("x86_64")
10 url="http://libguestfs.org"
11 license=("LGPL2.1")
12 depends=("libxml2" "perl")
13 makedepends=("python" "ruby" "ruby-rake" "ruby-rdoc" "perl-io-stringy" "perl-test-simple" "ocaml-findlib" "ocaml" "ocaml-compiler-libs" "chrpath")
14 optdepends=("python: python bindings"
15             "ruby: ruby bindings"
16             "ocaml: ocaml bindings")
17 source=("http://libguestfs.org/download/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
18 sha512sums=('e893d9fa77655540d29ef6657764f701f9cddb33d11b2bfef36ce0c2caebab92b55a32b7e1c99efbab0d53f558a44bf1c4c6f6da13daa37d568ff96d7d28f842'
19             'SKIP')
20 validpgpkeys=('F7774FB1AD074A7E8C8767EA91738F73E1B768A0') # Richard W.M. Jones <rjones@redhat.com>
22 build() {
23     cd "$pkgname-$pkgver"
25     CFLAGS+=' -ffat-lto-objects' \
26     ./configure \
27         --bindir=/usr/bin \
28         --libdir=/usr/lib \
29         --prefix=/usr \
30         --disable-rpath \
31         --disable-static PYTHON=python
33     make
34     chrpath -d perl/blib/arch/auto/Win/Hivex/Hivex.so
37 package() {
38     cd "$pkgname-$pkgver"
39     make DESTDIR="$pkgdir" install