mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/percona-server to 5.7.21_21-2
This commit is contained in:
parent
3247d61a17
commit
3567c01467
1 changed files with 6 additions and 3 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue