summaryrefslogtreecommitdiff
path: root/community/mariadb/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-12-01 01:52:00 -0800
committerroot <root@rshg054.dnsready.net>2012-12-01 01:52:00 -0800
commitc31ace4c6175db330d7e4aac1e7388fe5ca5d4f3 (patch)
tree305ea12a2bf8d2d9c7a36e52f68dba9fdb801548 /community/mariadb/PKGBUILD
parent51867161079ab52d5152105142a3bc965c63ca03 (diff)
Sat Dec 1 01:48:48 PST 2012
Diffstat (limited to 'community/mariadb/PKGBUILD')
-rw-r--r--community/mariadb/PKGBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/community/mariadb/PKGBUILD b/community/mariadb/PKGBUILD
index c17fc8fbb..91b606f4c 100644
--- a/community/mariadb/PKGBUILD
+++ b/community/mariadb/PKGBUILD
@@ -1,18 +1,19 @@
-# $Id: PKGBUILD 78669 2012-10-22 14:43:04Z bpiotrowski $
+# $Id: PKGBUILD 80718 2012-11-30 22:24:36Z bpiotrowski $
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
pkgbase=mariadb
pkgname=('libmariadbclient' 'mariadb-clients' 'mariadb')
-pkgver=5.5.28
+pkgver=5.5.28.a
+_pkgver=${pkgver/.a/a}
pkgrel=1
arch=('i686' 'x86_64')
license=('GPL')
url="http://mariadb.org/"
makedepends=('cmake' 'openssl' 'zlib')
options=('!libtool')
-source=(http://mirrors.supportex.net/$pkgbase/$pkgbase-$pkgver/kvm-tarbake-jaunty-x86/$pkgbase-$pkgver.tar.gz
+source=(http://mirrors.supportex.net/$pkgbase/$pkgbase-$_pkgver/kvm-tarbake-jaunty-x86/$pkgbase-$_pkgver.tar.gz
service rc.d tmpfiles.conf)
-md5sums=('9a4055300ccadf7990167ebd1ce875fa'
+md5sums=('a2d20a040ef1e49944a4ffe65ed7fefa'
'9e7aa0fa646f48662df569259061fcef'
'3bb5a9a96340feb0184bc057ee6e330b'
'32f30449d3111714fe190931d08fdb8c')
@@ -26,7 +27,7 @@ build() {
CFLAGS="-fPIC ${CFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer" \
CXXFLAGS="-fPIC ${CXXFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -felide-constructors -fno-rtti" \
- cmake ../${pkgbase}-${pkgver} \
+ cmake ../${pkgbase}-${_pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc/mysql \
@@ -67,7 +68,7 @@ package_libmariadbclient(){
pkgdesc="MariaDB client libraries"
depends=('openssl')
conflicts=('libmysqlclient')
- provides=("libmysqlclient=${pkgver}")
+ provides=("libmysqlclient=${_pkgver}")
cd "${srcdir}"/build
for dir in include libmysql libmysqld libservices; do
@@ -78,7 +79,7 @@ package_libmariadbclient(){
install -m755 scripts/mysql_config "${pkgdir}"/usr/bin/
install -d "${pkgdir}"/usr/share/man/man1
for man in mysql_config mysql_client_test_embedded mysqltest_embedded; do
- install -m644 "${srcdir}"/${pkgbase}-${pkgver}/man/$man.1 "${pkgdir}"/usr/share/man/man1/$man.1
+ install -m644 "${srcdir}"/${pkgbase}-${_pkgver}/man/$man.1 "${pkgdir}"/usr/share/man/man1/$man.1
done
}
@@ -86,7 +87,7 @@ package_mariadb-clients() {
pkgdesc="MariaDB client tools"
depends=('libmariadbclient')
conflicts=('mysql-clients')
- provides=("mysql-clients=${pkgver}")
+ provides=("mysql-clients=${_pkgver}")
cd "${srcdir}"/build
make -C client DESTDIR="${pkgdir}" install
@@ -94,7 +95,7 @@ package_mariadb-clients() {
# install man pages
install -d "${pkgdir}"/usr/share/man/man1
for man in mysql mysqladmin mysqlcheck mysqldump mysqlimport mysqlshow mysqlslap; do
- install -m644 "${srcdir}"/${pkgbase}-${pkgver}/man/$man.1 "${pkgdir}"/usr/share/man/man1/$man.1
+ install -m644 "${srcdir}"/${pkgbase}-${_pkgver}/man/$man.1 "${pkgdir}"/usr/share/man/man1/$man.1
done
# provided by mariadb
@@ -107,7 +108,7 @@ package_mariadb() {
install=mariadb.install
depends=('mariadb-clients')
conflicts=('mysql')
- provides=("mysql=${pkgver}")
+ provides=("mysql=${_pkgver}")
optdepends=('perl-dbi' 'perl-dbd-mysql')
options=('emptydirs')