summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 91648ddf84a8678b0903736f09080abc65d46b51 (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
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=scrub
pkgver=2.6.1
pkgrel=1
pkgdesc="Iteratively writes patterns on files or disk devices to make retreiving the data more difficult"
arch=('i686' 'x86_64')
url="http://code.google.com/p/diskscrub/"
license=('GPL')
source=(https://github.com/chaos/$pkgname/archive/$pkgver.tar.gz)
sha256sums=('838b061b2e1932b342fb9695c5579cdff5d2d72506cb41d6d8032eba18aed969')

build() {
  cd "${srcdir}"/$pkgname-$pkgver

  ./autogen.sh
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package () {
  cd "${srcdir}"/$pkgname-$pkgver

  make DESTDIR="${pkgdir}" install
}