summaryrefslogtreecommitdiffstats
path: root/main/diffutils/APKBUILD
blob: 5a9177130f28ce2a9384d1eed046107c3ce99e19 (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
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=diffutils
pkgver=2.8.1
pkgrel=1
pkgdesc="Show differences among files"
subpackages="$pkgname-doc"
url="http://www.gnu.org/software/diffutils/"
license="GPL2"
depends="uclibc"
makedepends=""
install="$pkgname.post-deinstall"
source="http://ftp.gnu.org/pub/gnu/diffutils/diffutils-2.8.1.tar.gz
$install"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
	make check || return 1
	make install DESTDIR=$pkgdir
}
md5sums="71f9c5ae19b60608f6c7f162da86a428  diffutils-2.8.1.tar.gz
e8da9a22c2389fe5e2846b8c0de45767  diffutils.post-deinstall"