# Maintainer (Arch): speps <speps at aur dot archlinux dot org>
# Contributor (Arch): TDY <tdy@gmx.com>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

pkgname=wdiff
pkgver=1.2.2
pkgrel=1.1
pkgdesc="A wordwise implementation of GNU diff"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/$pkgname/"
license=('GPL3')
depends=('ncurses')
install="$pkgname.install"
source=("http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('1c6ddd1f3106139ff9fe00e934df715f')

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

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