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

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

package() {
	cd $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"
}