aboutsummaryrefslogtreecommitdiffstats
path: root/testing/percona-toolkit/APKBUILD
blob: 77a5af6665367c4f7b9adea657c7f683427de8e4 (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
# Contributor: Matthieu Monnier <matthieu.monnier@enalean.com>
# Maintainer: Matthieu Monnier <matthieu.monnier@enalean.com>
pkgname=percona-toolkit
pkgver=3.0.13
pkgrel=0
pkgdesc="Toolkit for MySQL/MariaDB"
url="https://www.percona.com/software/database-tools/percona-toolkit/"
arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl perl-time-hires perl-dbd-mysql bash"
subpackages="$pkgname-doc"
source="https://www.percona.com/downloads/percona-toolkit/$pkgver/source/tarball/percona-toolkit-$pkgver.tar.gz"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="4f8050f3f3a43363c9ee1b15c161d60deafd443a0e057b7960881870d10d1fe0214b885e77b404f03081eb27adfa337e3adea26ca238efac753fb949272f36d3  percona-toolkit-3.0.13.tar.gz"