[arch-commits] Commit in percona-toolkit/repos (2 files)
Florian Pritz
bluewind at archlinux.org
Wed Aug 1 12:24:15 UTC 2018
Date: Wednesday, August 1, 2018 @ 12:24:15
Author: bluewind
Revision: 366764
archrelease: copy trunk to community-staging-any
Added:
percona-toolkit/repos/community-staging-any/
percona-toolkit/repos/community-staging-any/PKGBUILD
(from rev 366763, percona-toolkit/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: percona-toolkit/repos/community-staging-any/PKGBUILD (from rev 366763, percona-toolkit/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 12:24:15 UTC (rev 366764)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: D. Can Celasun <dcelasun[at]gmail[dot]com>
+# Contributor: Felix Hanley <felix at seconddrawer.com.au>
+# Contributor: Sławomir Kowalski <suawekk at gmail.com>
+
+pkgname=percona-toolkit
+pkgver=3.0.10
+pkgrel=2
+pkgdesc="Collection of advanced command-line tools to perform a variety of MySQL and system tasks."
+url="https://www.percona.com/software/database-tools/percona-toolkit"
+arch=('any')
+license=('GPL')
+depends=('perl-term-readkey')
+makedepends=('perl-dbd-mysql' 'perl-dbi')
+optdepends=(
+ 'perl-dbd-mysql: MySQL connections'
+ 'perl-dbi: MySQL connections'
+)
+options=('!emptydirs' 'purge')
+source=("https://www.percona.com/downloads/$pkgname/$pkgver/source/tarball/$pkgname-$pkgver.tar.gz")
+sha256sums=('ee89aa2a3c5a1a98e234a2564859fb95685838bef72cc76548ddfa62843844d6')
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps MODULEBUILDRC=/dev/null
+ perl Makefile.PL
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ unset PERL5LIB PERL_MM_OPT PERL_LOCAL_LIB_ROOT
+ make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+}
More information about the arch-commits
mailing list