[arch-commits] Commit in percona-toolkit/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Aug 26 15:32:24 UTC 2017
Date: Saturday, August 26, 2017 @ 15:32:23
Author: felixonmars
Revision: 254146
archrelease: copy trunk to community-staging-any
Added:
percona-toolkit/repos/community-staging-any/
percona-toolkit/repos/community-staging-any/PKGBUILD
(from rev 254144, percona-toolkit/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: percona-toolkit/repos/community-staging-any/PKGBUILD (from rev 254144, percona-toolkit/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2017-08-26 15:32:23 UTC (rev 254146)
@@ -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.4
+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=('fa3e34bdcb272edf95a5e9e4a14c9d111e35427eca3232a37fe7c1632ed3b43f')
+
+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