summaryrefslogtreecommitdiff
path: root/extra/mariadb/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mariadb/PKGBUILD')
-rw-r--r--extra/mariadb/PKGBUILD22
1 files changed, 9 insertions, 13 deletions
diff --git a/extra/mariadb/PKGBUILD b/extra/mariadb/PKGBUILD
index 0910aaf7c..92322d3aa 100644
--- a/extra/mariadb/PKGBUILD
+++ b/extra/mariadb/PKGBUILD
@@ -1,35 +1,30 @@
-# $Id: PKGBUILD 198814 2013-11-05 17:28:31Z bpiotrowski $
+# $Id: PKGBUILD 200716 2013-12-03 07:22:47Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
pkgbase=mariadb
pkgname=('libmariadbclient' 'mariadb-clients' 'mytop' 'mariadb')
-pkgver=5.5.33.a
+pkgver=5.5.34
_pkgver=${pkgver/.a/a}
-pkgrel=2
+pkgrel=3
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url='http://mariadb.org/'
-makedepends=('cmake' 'openssl' 'zlib')
+makedepends=('cmake' 'openssl' 'zlib' 'libaio')
source=(http://mirrors.supportex.net/$pkgbase/$pkgbase-$_pkgver/kvm-tarbake-jaunty-x86/$pkgbase-$_pkgver.tar.gz
mariadb.service
mariadb-post.sh
mariadb-tmpfile.conf)
-sha256sums=('adf4d04087177fde6568082c3fee77e52e84dc3ae4eb5b994d5defaaa8c83d5b'
+sha256sums=('a4d8b54be0f5784924629a1e87dbbccc4c0aaf537c76951e265625deda322f89'
'a6cf5446159fff16598d0d787dd3a3c30a53a656a5f876ddb608bc60e234d334'
'368f9fd2454d80eb32abb8f29f703d1cf9553353fb9e1ae4529c4b851cb8c5dd'
'2af318c52ae0fe5428e8a9245d1b0fc3bc5ce153842d1563329ceb1edfa83ddd')
-prepare() {
- cd $pkgbase-$_pkgver
- sed -i '63d' storage/tokudb/ft-index/cmake_modules/TokuSetupCTest.cmake
-}
-
build() {
mkdir build
cd build
cmake ../$pkgbase-$_pkgver \
- -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_CONFIG=mysql_release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc/mysql \
-DMYSQL_DATADIR=/var/lib/mysql \
@@ -72,9 +67,10 @@ build() {
package_libmariadbclient() {
pkgdesc='MariaDB client libraries'
- depends=('openssl')
+ depends=('openssl' 'libaio')
conflicts=('libmysqlclient')
provides=("libmysqlclient=$pkgver")
+ options=('staticlibs')
cd build
for dir in include libmysql libmysqld libservices; do
@@ -120,7 +116,7 @@ package_mariadb() {
pkgdesc='Fast SQL database server, drop-in replacement for MySQL'
backup=('etc/mysql/my.cnf')
install=mariadb.install
- depends=('mariadb-clients' 'inetutils')
+ depends=('mariadb-clients' 'inetutils' 'libaio')
conflicts=('mysql')
provides=("mysql=$pkgver")
options=('emptydirs')