git » mariadb.git » commit 6401982

Add mytop to provides= and conflicts=; list its dependencies in optdeps.

author Bartłomiej Piotrowski
2013-03-09 15:28:28 UTC
committer Bartłomiej Piotrowski
2013-03-09 15:28:28 UTC
parent dc53a90adacb11912806b86646ca1ea461e21b64

Add mytop to provides= and conflicts=; list its dependencies in optdeps.

PKGBUILD +5 -4

diff --git a/PKGBUILD b/PKGBUILD
index 22503d3..78f3fc3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 pkgbase=mariadb
 pkgname=('libmariadbclient' 'mariadb-clients' 'mariadb')
 pkgver=5.5.29
-pkgrel=5
+pkgrel=6
 arch=('i686' 'x86_64')
 license=('GPL')
 url='http://mariadb.org/'
@@ -106,9 +106,10 @@ package_mariadb() {
   backup=('etc/mysql/my.cnf')
   install=mariadb.install
   depends=('mariadb-clients')
-  conflicts=('mysql')
-  provides=("mysql=$pkgver")
-  optdepends=('perl-dbi' 'perl-dbd-mysql')
+  conflicts=('mysql' 'mytop')
+  provides=("mysql=$pkgver" 'mytop')
+  optdepends=('perl-dbd-mysql: mytop dependency'
+              'perl-term-readkey: mytop dependency')
   options=('emptydirs')
 
   cd "$srcdir"/build