summaryrefslogtreecommitdiff
path: root/extra/testdisk/PKGBUILD
blob: c4b1b02189cc066d1ac022abc3c0fd6a498562b3 (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
# $Id: PKGBUILD 123688 2011-05-12 14:06:47Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Michal Krenek <mikos@sg1.cz>

pkgname=testdisk
pkgver=6.12
pkgrel=1
pkgdesc="Checks and undeletes partitions + PhotoRec, signature based recovery tool"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.cgsecurity.org/index.html?testdisk.html"
license=('GPL')
depends=('libjpeg>=8' 'openssl' 'progsreiserfs' 'ntfsprogs')
makedepends=('pkgconfig')
source=(http://www.cgsecurity.org/${pkgname}-${pkgver}.tar.bz2)

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

  ./configure --prefix=/usr \
              --without-ewf \
              --enable-sudo
  make || return 1
  make DESTDIR="${pkgdir}/" install || return 1
}
md5sums=('6ef653301f309156f3a802233a3139c1')