summaryrefslogtreecommitdiff
path: root/extra/testdisk/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/testdisk/PKGBUILD')
-rw-r--r--extra/testdisk/PKGBUILD21
1 files changed, 12 insertions, 9 deletions
diff --git a/extra/testdisk/PKGBUILD b/extra/testdisk/PKGBUILD
index 61165383a..aa8ab9acc 100644
--- a/extra/testdisk/PKGBUILD
+++ b/extra/testdisk/PKGBUILD
@@ -1,26 +1,29 @@
-# $Id: PKGBUILD 143223 2011-11-23 16:04:33Z tpowa $
+# $Id: PKGBUILD 149731 2012-02-09 19:52:20Z 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=1
+pkgrel=2
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)
+depends=('libjpeg' 'openssl' 'progsreiserfs' 'ntfsprogs')
+source=(http://www.cgsecurity.org/$pkgname-$pkgver.tar.bz2)
+md5sums=('3bcbf0722d3823ca155e633969ce9f0b')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr \
--without-ewf \
--enable-sudo
- make || return 1
- make DESTDIR="${pkgdir}/" install || return 1
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
}
-md5sums=('3bcbf0722d3823ca155e633969ce9f0b')