[arch-commits] Commit in percona-server/trunk (PKGBUILD)

Massimiliano Torromeo mtorromeo at archlinux.org
Sat May 5 09:58:34 UTC 2018


    Date: Saturday, May 5, 2018 @ 09:58:33
  Author: mtorromeo
Revision: 318973

Fixed conflicts with libmariadbclient

Modified:
  percona-server/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-05 05:59:08 UTC (rev 318972)
+++ PKGBUILD	2018-05-05 09:58:33 UTC (rev 318973)
@@ -7,7 +7,7 @@
 _boost_ver=1.59.0
 _pkgver=${pkgver/_/-}
 _myver=${pkgver/_rel*}
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 makedepends=('cmake' 'zlib' 'lz4' 'zstd' 'libaio' 'systemd-tools' 'pam' 'numactl' 'jemalloc' 'openssl' 'rpcsvc-proto')
 license=('GPL')
@@ -111,8 +111,10 @@
 	rm -rf "$pkgdir"/usr/lib/{libmysql*,mysql}
 
 	install -Dm755 scripts/mysql_config "$pkgdir"/usr/bin/perconaserver_config
-	install -d "$pkgdir"/usr/share/man/man1
-	install -m644 "$srcdir"/$pkgbase-$_pkgver/man/mysql_config.1 "$pkgdir"/usr/share/man/man1/perconaserver_config.1
+	install -Dm644 "$srcdir"/$pkgbase-$_pkgver/man/mysql_config.1 "$pkgdir"/usr/share/man/man1/perconaserver_config.1
+
+	install -D -m0644 scripts/perconaserverclient.pc "$pkgdir"/usr/lib/pkgconfig/perconaserverclient.pc
+	install -D -m0644 "$srcdir"/$pkgbase-$_pkgver/support-files/mysql.m4 "$pkgdir"/usr/share/aclocal/perconaserverclient.m4
 }
 
 package_percona-server-clients() {
@@ -164,6 +166,7 @@
 	rm usr/lib/lib{mysql,perconaserver}*
 	rm -r usr/include/
 	rm usr/share/man/man1/{mysql_config,mysql_client_test_embedded,mysqltest_embedded}.1
+	rm -r usr/share/aclocal usr/lib/pkgconfig
 
 	# provided by percona-server-clients
 	rm usr/bin/mysql{,admin,check,dump,import,show,slap,pump}



More information about the arch-commits mailing list