summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d1d0e47c19c232fbf645fdf5e1cd54294a02e015 (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
# Contributer: giacomogiorgianni@gmail.com 

pkgname=hdrecover
pkgver=0.5
pkgrel=1
pkgdesc="Tool to encourage hard disks to reallocate bad sectors allowing data recovery"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/hdrecover/"
license=('LGPL')
depends=('glibc')
makedepends=('make')
#install=${pkgname}.install
#changelog=$pkgname.changelog
source=("http://netcologne.dl.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz")
md5sums=(1cbe15f790fe383a20375b97aa3e5d04)

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
}

package() {
  #make DESTDIR=$pkgdir install || return 1
  install -Dm755 $srcdir/$pkgname-$pkgver/$pkgname \
      "$pkgdir/usr/bin/$pkgname"
}