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

_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="d6bc1bdc874ddb14cfed4d1655a0dbbe  diffutils-2.9.tar.gz
e8da9a22c2389fe5e2846b8c0de45767  diffutils.post-deinstall"