summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6b54f21e5f59ef2c979e5576b8baecd6c2781e29 (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
# Maintainer: 

pkgname=whdd
pkgver=3.0.1
pkgrel=1
pkgdesc="Diagnostic and recovery tool for block devices (near to replace MHDD for Linux)"
arch=('i686' 'x86_64')
url="https://github.com/whdd/whdd"
license=('GPL3')
depends=('ncurses' 'dialog')
optdepends=('smartmontools: for reading SMART attributes')
# makedepends=('cmake')
source=("$pkgname-$pkgver.tar.gz::https://github.com/whdd/whdd/archive/${pkgver}.tar.gz")
sha512sums=('6d5d8dad7537118a5915a29a549e18595da1b6ba031f0ca661805ad0033fd48f32804eb307f67e7b31d6002e708ae578a32aff366f3e610ab36b25f0a4e50803')

build() {
  cd ${pkgname}-${pkgver}

  # cmake .
  make
}

package() {
  cd ${pkgname}-${pkgver}

  # make install DESTDIR="${pkgdir}"/usr/bin/
  install -D -m 755 "${pkgname}" "${pkgdir}"/usr/bin/"${pkgname}"
}