blob: 445d1cddd086dbfb507bcf1a90b584eb1f9ed483 (
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
34
35
36
|
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=testdisk
pkgver=6.11.3
pkgrel=1
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 --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
}
md5sums="ceee384a8613d8f7ffff5ccfa3fba510 testdisk-6.11.3.tar.bz2"
|