summaryrefslogtreecommitdiff
path: root/extra/wipe/PKGBUILD
blob: c51bcfa2ebc867b245bce6bcdaab14caf3b839e1 (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
# $Id: PKGBUILD 103446 2010-12-19 16:53:45Z andrea $
# Maintainer:
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Jason Chu <jason@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=wipe
pkgver=2.3.1
pkgrel=1
pkgdesc="A file and block device wiping utility - a secure rm"
arch=('i686' 'x86_64' 'mips64el')
url="http://wipe.sourceforge.net/"
license=('GPL')
depends=('glibc')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('3aed00711e0490edbec115bc283b8544')

build() {
  cd $srcdir/$pkgname-$pkgver
  [ "$CARCH" = "mips64el" ] && extra="--build=$CHOST --host=$CHOST --target=$CHOST"
  ./configure --prefix=/usr \
    --mandir=/usr/share/man $extra
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make prefix=$pkgdir/usr mandir=$pkgdir/usr/share/man install
}