updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / bkhive / PKGBUILD
bloba6fdb75035e6827f0537fd726bb3a9b8895d1f98
1 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
2 # Contributor: Matthew Sharpe <matt.sharpe@gmail.com>
4 pkgname=bkhive
5 pkgver=1.1.1
6 pkgrel=2
7 pkgdesc="Program for dumping the syskey bootkey from a Windows NT/2K/XP system hive"
8 arch=('i686' 'x86_64')
9 url="http://sourceforge.net/projects/ophcrack"
10 license=('GPL')
11 depends=('glibc')
12 makedepends=('make')
13 replaces=('bkhive2')
14 conflicts=('bkhive2')
15 source=(http://downloads.sourceforge.net/ophcrack/$pkgname-$pkgver.tar.gz \
16         syskey.txt)
17 md5sums=('bb5e076f3051c60331a7831b6c11719d' '8987a02d580924ac9c1da7196c083c05')
19 build() {
20   cd $pkgname-$pkgver
22   make CFLAGS="${CFLAGS}" || return 1
24   install -Dm755 bkhive "$pkgdir"/usr/bin/bkhive
25   install -Dm644 bkhive.1 "$pkgdir"/usr/share/man/man1/bkhive.1
27   install -Dm644 ../syskey.txt "$pkgdir"/usr/share/bkhive/syskey.txt