summaryrefslogtreecommitdiff
path: root/testing/testdisk/PKGBUILD
blob: 23f2f58c46c9899f7b30aafa79475170ed807106 (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
# $Id: PKGBUILD 149641 2012-02-08 22:34:52Z ibiru $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Michal Krenek <mikos@sg1.cz>

pkgname=testdisk
pkgver=6.13
pkgrel=2
pkgdesc="Checks and undeletes partitions + PhotoRec, signature based recovery tool"
arch=('i686' 'x86_64')
url="http://www.cgsecurity.org/index.html?testdisk.html"
license=('GPL')
depends=('libjpeg' 'openssl' 'progsreiserfs' 'ntfsprogs')
source=(http://www.cgsecurity.org/$pkgname-$pkgver.tar.bz2)
md5sums=('3bcbf0722d3823ca155e633969ce9f0b')

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

  ./configure --prefix=/usr \
              --without-ewf \
              --enable-sudo
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}