From 1d2f1a1e70011a41d17f2f16d5e90c491ccdabb8 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 11 Sep 2011 23:14:33 +0000 Subject: Sun Sep 11 23:14:33 UTC 2011 --- extra/dcfldd/PKGBUILD | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'extra/dcfldd/PKGBUILD') diff --git a/extra/dcfldd/PKGBUILD b/extra/dcfldd/PKGBUILD index f04cd8c56..b0eb7861f 100644 --- a/extra/dcfldd/PKGBUILD +++ b/extra/dcfldd/PKGBUILD @@ -1,21 +1,26 @@ -# $Id: PKGBUILD 47983 2009-07-30 02:30:21Z eric $ +# $Id: PKGBUILD 137724 2011-09-10 14:16:18Z pierre $ # Contributor: Paul Mattal # Maintainer: Paul Mattal + pkgname=dcfldd pkgver=1.3.4.1 -pkgrel=2 +pkgrel=3 pkgdesc="DCFL (DoD Computer Forensics Lab) dd replacement with hashing" -arch=(i686 x86_64) +arch=('i686' 'x86_64') url="http://dcfldd.sourceforge.net/" license=('GPL') -depends=(glibc) -source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-${pkgver%.*}-${pkgver##*.}.tar.gz) +depends=('glibc') +source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-${pkgver%.*}-${pkgver##*.}.tar.gz") md5sums=('952026c872f11b53ce0ec6681a3eef0a') sha1sums=('fb1c55f107a6af5ef8703a44d33476e508815913') build() { - cd "$srcdir/$pkgname-${pkgver%.*}-${pkgver##*.}" || return 1 - ./configure --prefix=/usr --mandir=/usr/share/man || return 1 - make || return 1 - make DESTDIR="$pkgdir" install || return 1 + cd "$srcdir/$pkgname-${pkgver%.*}-${pkgver##*.}" + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd "$srcdir/$pkgname-${pkgver%.*}-${pkgver##*.}" + make DESTDIR="$pkgdir" install } -- cgit v1.2.3-54-g00ecf