summaryrefslogtreecommitdiff
path: root/extra/wipe/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/wipe/PKGBUILD')
-rw-r--r--extra/wipe/PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/extra/wipe/PKGBUILD b/extra/wipe/PKGBUILD
index b876b0dca..c471c03cb 100644
--- a/extra/wipe/PKGBUILD
+++ b/extra/wipe/PKGBUILD
@@ -6,18 +6,19 @@
pkgname=wipe
pkgver=2.3.1
-pkgrel=2
+pkgrel=2.1
pkgdesc='Secure file wiping utility'
url='http://wipe.sourceforge.net/'
license=('GPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('72aa8bcbeb54deb676ae08af78401132860703de')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --mandir=/usr/share/man
- make
+ cd $srcdir/$pkgname-$pkgver
+ [ "$CARCH" = "mips64el" ] && extra="--build=$CHOST --host=$CHOST --target=$CHOST"
+ ./configure --prefix=/usr --mandir=/usr/share/man $extra
+ make
}
package() {