summaryrefslogtreecommitdiff
path: root/community/ext3grep/PKGBUILD
blob: f3ac6d1cd7d6ac36f094b254a2f53e6851158199 (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
33
# $Id: PKGBUILD 66637 2012-02-26 16:26:55Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: ivh

pkgname=ext3grep
pkgver=0.10.2
pkgrel=2
pkgdesc="A tool to investigate an ext3 file system for deleted content and possibly recover it"
arch=('i686' 'x86_64')
url="http://code.google.com/p/ext3grep/"
license=('GPL')
makedepends=('e2fsprogs' 'patch')
changelog=$pkgname.changelog
source=(http://ext3grep.googlecode.com/files/$pkgname-$pkgver.tar.gz \
        $pkgname-build.patch)
sha256sums=('586f3e939d2ffd782f6f006b81a3df2dc477c6da03f21edb8860c5c4f7198f3e'
            '6f57d5012fcfb063012ade80b25c356defc2d22411bbb9086ea89c0de10f3117')

build() {
  cd ${srcdir}/$pkgname-$pkgver

#http://code.google.com/p/ext3grep/issues/detail?id=34
  patch -Np1 -i ${srcdir}/$pkgname-build.patch
  
  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/$pkgname-$pkgver

  make DESTDIR=${pkgdir} install
}