aboutsummaryrefslogtreecommitdiffstats
path: root/main/diffutils/APKBUILD
blob: 7e9e5eb32e940c624f514e7327b4858a5f17358e (plain) (blame)
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
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=diffutils
pkgver=3.2
pkgrel=0
pkgdesc="Show differences among files"
subpackages="$pkgname-doc"
url="http://www.gnu.org/software/diffutils/"
arch="all"
license="GPL2"
depends=""
makedepends=""
install=""
source="http://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz"

_builddir=$srcdir/$pkgname-$pkgver

build() {
	cd "$_builddir"

	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

package() {
	cd "$_builddir"
	make install DESTDIR=$pkgdir
}

md5sums="22e4deef5d8949a727b159d6bc65c1cc  diffutils-3.2.tar.gz"