summaryrefslogtreecommitdiff
path: root/pcr/wdiff/PKGBUILD
blob: 41bee9679f3f652513a5ed95599f7a8474c02cab (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
# 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')