# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>

pkgname=wdiff
pkgver=1.2.1
pkgrel=1
pkgdesc="A front end to diff for comparing files on a word per word basis."
arch=('i686' 'x86_64')
url="https://www.gnu.org/software/$pkgname/"
license=('GPL3')
depends=('diffutils')
source=(http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr
  make
}

check() {
  cd "$srcdir/$pkgname-$pkgver"
  make -k check
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir/" install
}

md5sums=('fc54e044b229a23c1cfa8e5689196f24')