author | Bartłomiej Piotrowski
<bpiotrowski@archlinux.org> 2014-05-21 11:25:58 UTC |
committer | Bartłomiej Piotrowski
<bpiotrowski@archlinux.org> 2014-05-21 11:25:58 UTC |
parent | 6dc836edfc49958f2c55a27b4eac383d759b5263 |
PKGBUILD | +4 | -1 |
diff --git a/PKGBUILD b/PKGBUILD index b993cbd..8c6c865 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgbase=mariadb pkgname=('libmariadbclient' 'mariadb-clients' 'mytop' 'mariadb') pkgver=10.0.11 _pkgver=${pkgver/.a/a} -pkgrel=3 +pkgrel=4 arch=('i686' 'x86_64') license=('GPL') url='http://mariadb.org/' @@ -79,6 +79,7 @@ package_libmariadbclient() { depends=('openssl' 'libaio' 'zlib' 'pcre') conflicts=('libmysqlclient') provides=("libmysqlclient=$pkgver") + options=('staticlibs') cd build for dir in include libmysql libmysqld libservices; do @@ -90,6 +91,8 @@ package_libmariadbclient() { 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 done + + rm "$pkgdir"/usr/lib/libmysql{client,client_r,d}.a } package_mariadb-clients() {