extra/mariadb to 10.1.9-2

This commit is contained in:
Kevin Mihelich 2015-11-29 20:47:52 +00:00
parent 14d996385d
commit 9b370859d7

View file

@ -6,19 +6,17 @@
pkgbase=mariadb
pkgname=('libmariadbclient' 'mariadb-clients' 'mytop' 'mariadb')
pkgver=10.0.22
pkgver=10.1.9
_pkgver=${pkgver/.a/a}
pkgrel=1
pkgrel=2
arch=('i686' 'x86_64')
license=('GPL')
url='http://mariadb.org/'
makedepends=('cmake' 'openssl' 'zlib' 'libaio' 'libxml2' 'openssl' 'pcre'
'jemalloc' 'lz4')
source=(http://ftp.heanet.ie/mirrors/mariadb/mariadb-$pkgver/source/mariadb-$pkgver.tar.gz
mariadb.service
'jemalloc' 'lz4' 'boost') source=(http://ftp.heanet.ie/mirrors/mariadb/mariadb-$pkgver/source/mariadb-$pkgver.tar.gz mariadb.service
mariadb-post.sh
mariadb-tmpfile.conf)
md5sums=('fa818946e43e1eeda191a7736efa1ef9'
md5sums=('71d0e2408a671e1125c1310ce657f688'
'd488fffa9f62f9949c4aa1bb6e6db692'
'b79e65a5aa536e6b5bc60988eb0b78a2'
'2fa6e456964d4ff5e6d4f9ff0126aed6')
@ -75,7 +73,7 @@ build() {
package_libmariadbclient() {
pkgdesc='MariaDB client libraries'
depends=('openssl' 'libaio' 'zlib' 'pcre')
depends=('openssl' 'libaio' 'zlib' 'pcre' 'lz4' 'lzo' 'xz')
conflicts=('libmysqlclient')
provides=("libmysqlclient=$pkgver")
options=('staticlibs')
@ -127,7 +125,7 @@ package_mariadb() {
backup=('etc/mysql/my.cnf')
install=mariadb.install
depends=('mariadb-clients' 'inetutils' 'libaio' 'libxml2' 'pcre' 'jemalloc'
'lz4')
'lz4' 'boost-libs' 'lzo')
optdepends=('perl-dbd-mysql: for mysqlhotcopy, mysql_convert_table_format and mysql_setpermission')
conflicts=('mysql')
provides=("mysql=$pkgver")
@ -141,8 +139,8 @@ package_mariadb() {
install -Dm644 ../mariadb.service "$pkgdir"/usr/lib/systemd/system/mysqld.service
install -Dm644 ../mariadb-tmpfile.conf "$pkgdir"/usr/lib/tmpfiles.d/mysql.conf
install -dm700 var/lib/mysql
chown -R 89:89 var/lib/mysql &>/dev/null
install -dm700 "$pkgdir"/var/lib/mysql
chown -R 89:89 "$pkgdir"/var/lib/mysql &>/dev/null
# provided by libmariadbclient
cd "$pkgdir"