mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/percona-server to 8.0.13_3-5
This commit is contained in:
parent
ce58c22226
commit
ec54488eb9
1 changed files with 8 additions and 6 deletions
|
@ -11,7 +11,7 @@ pkgver=8.0.13_3
|
|||
_boost_ver=1.67.0
|
||||
_pkgver=${pkgver/_/-}
|
||||
_myver=${pkgver/_rel*}
|
||||
pkgrel=3
|
||||
pkgrel=5
|
||||
arch=('x86_64')
|
||||
makedepends=('cmake' 'zlib' 'lz4' 'zstd' 'libaio' 'systemd-tools' 'pam' 'jemalloc' 'openssl' 'rpcsvc-proto')
|
||||
license=('GPL')
|
||||
|
@ -39,7 +39,7 @@ prepare() {
|
|||
|
||||
patch -p1 -i "$srcdir"/build-hostname.patch
|
||||
patch -p1 -i "$srcdir"/no-werror.patch
|
||||
# patch -p1 -i "$srcdir"/rocksdb-systemlibs.patch
|
||||
patch -p1 -i "$srcdir"/rocksdb-systemlibs.patch
|
||||
patch -p1 -i "$srcdir"/0001-fix-LF_PINS-padding-calculation.patch
|
||||
}
|
||||
|
||||
|
@ -65,11 +65,12 @@ build() {
|
|||
-DINSTALL_DOCREADMEDIR=share/doc/percona-server \
|
||||
-DINSTALL_DOCDIR=share/doc/percona-server \
|
||||
-DINSTALL_MANDIR=share/man \
|
||||
-DINSTALL_PLUGINDIR=lib/mysql/plugin \
|
||||
-DINSTALL_PLUGINDIR=lib/perconaserver/plugin \
|
||||
-DINSTALL_SCRIPTDIR=bin \
|
||||
-DINSTALL_INCLUDEDIR=include/perconaserver \
|
||||
-DINSTALL_SUPPORTFILESDIR=share/mysql \
|
||||
-DINSTALL_MYSQLSHAREDIR=share/mysql \
|
||||
-DINSTALL_STATIC_LIBRARIES=OFF \
|
||||
-DWITH_ZLIB=system \
|
||||
-DWITH_LZ4=system \
|
||||
-DWITH_SSL=system \
|
||||
|
@ -113,8 +114,8 @@ package_libperconaserverclient() {
|
|||
make -C $dir DESTDIR="$pkgdir" install
|
||||
done
|
||||
|
||||
# Conflicting files with libmariadbclient
|
||||
rm -rf "$pkgdir"/usr/lib/{libmysqld.so*,libmysqlclient{,_r}.so*,mysql}
|
||||
# Conflicting files with mariadb-libs
|
||||
rm -rf "$pkgdir"/usr/lib/{libmysqld.so*,libmysqlclient{,_r}.so*,perconaserver}
|
||||
|
||||
install -Dm755 scripts/mysql_config "$pkgdir"/usr/bin/perconaserver_config
|
||||
install -Dm644 "$srcdir"/$pkgbase-$_pkgver/man/mysql_config.1 "$pkgdir"/usr/share/man/man1/perconaserver_config.1
|
||||
|
@ -160,7 +161,7 @@ package_percona-server() {
|
|||
cd "$pkgdir"
|
||||
chmod 755 usr
|
||||
mv usr/usr/lib/* usr/lib
|
||||
rm -rf usr/{usr,data,run,lib/mysql/plugin/debug}
|
||||
rm -rf usr/{usr,data,run,lib/perconaserver/plugin/debug}
|
||||
|
||||
# Move documentation
|
||||
if [ -f usr/PATENTS ]; then
|
||||
|
@ -181,4 +182,5 @@ package_percona-server() {
|
|||
|
||||
# not needed
|
||||
rm -r usr/mysql-test
|
||||
rm usr/share/doc/percona-server/{INFO_*,mysql.info,*-test}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue