# Maintainer: Leonardo Arena pkgname=testdisk pkgver=6.13 pkgrel=0 pkgdesc="A data recovery suite" url="http://www.cgsecurity.org/wiki/TestDisk" arch="all" license="GPL" depends= makedepends="e2fsprogs-dev ncurses-dev zlib-dev" install= subpackages="$pkgname-doc" source="http://www.cgsecurity.org/$pkgname-$pkgver.tar.bz2" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" # apply patches here } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install } md5sums="3bcbf0722d3823ca155e633969ce9f0b testdisk-6.13.tar.bz2"