summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0740ed17fdfbf2d4753d1a9fd7780a5efde762fa (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
30
31
# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
pkgname=numdiff
pkgver=5.6.1
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="Program to compare files ignoring small numeric differences"
url="http://www.nongnu.org/numdiff/"
license=('GPL3')
makedepends=('gmp')
depends=('gmp')
source=(http://savannah.nongnu.org/download/$pkgname/$pkgname-$pkgver.tar.gz)
install=numdiff.install
md5sums=('96b5cae2e6a50a3fd23f1cd9b15798fd')

build() {
	cd $srcdir/$pkgname-$pkgver
  
	# unset MAKEFLAGS
	./configure --prefix=/usr --enable-optimization --enable-nls --enable-gmp
	make
}

package() {
	cd $srcdir/$pkgname-$pkgver

	make DESTDIR=$pkgdir install
	make DESTDIR=$pkgdir install-nls

	# We delete info file because there is already gzipped one
	rm $pkgdir/usr/share/info/$pkgname.info
}