# $Id: PKGBUILD 67511 2012-03-12 21:57:54Z lcarlier $ # Maintainer: Jaroslav Lichtblau # Contributor: Geoffroy Carrier pkgname=sleuthkit pkgver=3.2.3 pkgrel=2 pkgdesc='File system and media management forensic analysis tools' arch=('i686' 'x86_64') url='http://www.sleuthkit.org/sleuthkit' license=('GPL2' 'CPL' 'custom:"IBM Public Licence"') depends=('perl') options=('!libtool') changelog=$pkgname.changelog source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) sha256sums=('ba5f63d7fd60d978de03777c72b1571004caa8dfe384f09757b6a8efa890ea62') build() { cd ${pkgname}-${pkgver} ./configure --without-afflib --without-ewf --prefix=/usr make LDFLAGS+="-lpthread -ldl" } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install # licenses install -d ${pkgdir}/usr/share/licenses/${pkgname} install -Dm0644 licenses/* ${pkgdir}/usr/share/licenses/${pkgname} }