summaryrefslogtreecommitdiff
path: root/community/sleuthkit/PKGBUILD
blob: 0751f43b8fd0fee84258507a063b5c7e3c787b4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 47379 2011-05-22 09:59:29Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>

pkgname=sleuthkit
pkgver=3.2.1
pkgrel=1
pkgdesc='File system and media management forensic analysis tools'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.sleuthkit.org/sleuthkit'
license=('GPL2' 'CPL' 'custom:"IBM Public Licence"')
depends=('perl')
options=('!libtool')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
sha256sums=('e0f257d2c6856dc1c1cd2a704c6cb8906ca688f0cdbb1d0665fd7a5a2f83ad37')

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