[arch-commits] Commit in percona-toolkit/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Jun 2 03:36:08 UTC 2017
Date: Friday, June 2, 2017 @ 03:36:06
Author: felixonmars
Revision: 232668
archrelease: copy trunk to community-staging-any
Added:
percona-toolkit/repos/community-staging-any/
percona-toolkit/repos/community-staging-any/PKGBUILD
(from rev 232667, percona-toolkit/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: percona-toolkit/repos/community-staging-any/PKGBUILD (from rev 232667, percona-toolkit/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2017-06-02 03:36:06 UTC (rev 232668)
@@ -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.2
+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=('ace5325424af6f115b4b31c5a62b0ff48b24aed43b3991f479ab18dfc1c1572d')
+
+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