APKBUILD 1.36 KB
Newer Older
1
# Contributor: Valery Kartel <valery.kartel@gmail.com>
2 3 4
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=findutils
5
pkgver=4.6.0
6
pkgrel=2
7
pkgdesc="GNU utilities for finding files"
8
url="https://www.gnu.org/software/findutils/"
9
arch="all"
10
license="GPL-3.0+"
11 12
depends=""
makedepends=""
13
checkdepends="coreutils diffutils dejagnu"
14 15
install=
subpackages="$pkgname-doc"
16
source="https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz
17
	localename-test-fix.patch
18
	findutils-include-sysmacros.patch
19
	"
20
options="!checkroot"
21

22
build() {
23
	cd "$builddir"
24

25
	./configure \
26 27 28
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
29
		--sysconfdir=/etc \
30
		--localstatedir=/var \
31
		--mandir=/usr/share/man \
32 33 34 35 36 37 38
		--infodir=/usr/share/info
	make
}

check() {
	cd "$builddir"
	make check
39
}
40

41
package() {
42
	cd "$builddir"
43
	make DESTDIR="$pkgdir" install
44
	rm -rf "$pkgdir"/usr/lib
45 46
}

47
sha512sums="41fcd4197c1efbd77f7420e5754e2cf9332dfef19f90c65a8fa1844bb4bc5d529c8393ee0ff979a054e9ac65ff71d7fe3921ea079f9960843412fc9a71f8afd4  findutils-4.6.0.tar.gz
48 49
39fc0bc7602dd5300cf0b5488a7d14b6d00e05fedd6067ff45a229e65ff020d0003c0bb8e43807d9874afeb39c1dae6d612182caeb7de76156e1bc6ceb50adfc  localename-test-fix.patch
552d48cdb444568ded2a097e2b7b5851d730edb7e58e7b7740a6c6781d0e5b6bb269bb2429f5147f4004a50647ce16705eb390919b4652dcf1dfbded7ebfc03a  findutils-include-sysmacros.patch"