summaryrefslogtreecommitdiff
path: root/extra/wipe/PKGBUILD
blob: d7e4b1107c2a723dc31000b42b1c6d12dbe05f12 (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
# $Id: PKGBUILD 146765 2012-01-17 07:13:10Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# 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=2
pkgdesc='Secure file wiping utility'
url='http://wipe.sourceforge.net/'
license=('GPL')
arch=('i686' 'x86_64' 'mips64el')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('72aa8bcbeb54deb676ae08af78401132860703de')

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
}