community/percona-server to 5.7.21_21-2

This commit is contained in:
Kevin Mihelich 2018-05-05 13:50:46 +00:00
parent 3247d61a17
commit 3567c01467

View file

@ -11,7 +11,7 @@ pkgver=5.7.21_21
_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' 'jemalloc' 'openssl' 'rpcsvc-proto')
license=('GPL')
@ -118,8 +118,10 @@ package_libperconaserverclient() {
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() {
@ -171,6 +173,7 @@ package_percona-server() {
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}