summaryrefslogtreecommitdiffstats
path: root/main/findutils/APKBUILD
blob: 7bb9d79ac07d7732f97342ebbb1417997eb191b6 (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
33
34
35
36
37
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=findutils
pkgver=4.4.2
pkgrel=3
pkgdesc="GNU utilities for finding files"
url="http://www.gnu.org/software/findutils/"
arch="all"
license="GPL"
depends=""
makedepends=""
install=
subpackages="$pkgname-doc"
source="http://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/findutils-$pkgver
build() {
	cd "$_builddir"

	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		|| return 1
	make || return 1
}

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

md5sums="351cc4adb07d54877fa15f75fb77d39f  findutils-4.4.2.tar.gz"